From: Sergey M․ Date: Thu, 18 Aug 2016 14:30:55 +0000 (+0700) Subject: [dbtv] Relax embed regex X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=b0d578ff7b54c521776cf8d1e050dc198bbc26e6;p=youtube-dl [dbtv] Relax embed regex --- diff --git a/youtube_dl/extractor/dbtv.py b/youtube_dl/extractor/dbtv.py index 73dba5e2a..6d880d43d 100644 --- a/youtube_dl/extractor/dbtv.py +++ b/youtube_dl/extractor/dbtv.py @@ -41,7 +41,7 @@ class DBTVIE(InfoExtractor): @staticmethod def _extract_urls(webpage): return [url for _, url in re.findall( - r']+src=(["\'])((?:https?:)?//(?:www\.)?dbtv\.no/lazyplayer/\d+.*?)\1', + r']+src=(["\'])((?:https?:)?//(?:www\.)?dbtv\.no/(?:lazy)?player/\d+.*?)\1', webpage)] def _real_extract(self, url):