Browse Source

[brightcove:new] Add _extract_url

master
Sergey M․ 9 years ago
parent
commit
7234d1d9c7
1 changed files with 5 additions and 0 deletions
  1. 5
      youtube_dl/extractor/brightcove.py

5
youtube_dl/extractor/brightcove.py

@ -389,6 +389,11 @@ class BrightcoveNewIE(InfoExtractor):
} }
}] }]
@staticmethod
def _extract_url(webpage):
urls = BrightcoveNewIE._extract_urls(webpage)
return urls[0] if urls else None
@staticmethod @staticmethod
def _extract_urls(webpage): def _extract_urls(webpage):
# Reference: # Reference:

Loading…
Cancel
Save