From: Sergey M․ Date: Sat, 15 Apr 2017 13:30:51 +0000 (+0700) Subject: [brightcove] Validate ambiguous embeds' URLs (closes #9163, closes #12005, closes... X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0254f93b08ef5f8af8ea0f1b9f7558892626900b;p=youtube-dl [brightcove] Validate ambiguous embeds' URLs (closes #9163, closes #12005, closes #12178, closes #12480) --- diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index c7059a12a..124497e95 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -489,7 +489,7 @@ class BrightcoveNewIE(InfoExtractor): return urls[0] if urls else None @staticmethod - def _extract_urls(webpage): + def _extract_urls(ie, webpage): # Reference: # 1. http://docs.brightcove.com/en/video-cloud/brightcove-player/guides/publish-video.html#setvideoiniframe # 2. http://docs.brightcove.com/en/video-cloud/brightcove-player/guides/publish-video.html#tag @@ -506,37 +506,46 @@ class BrightcoveNewIE(InfoExtractor): # Look for