]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[dbtv] Relax embed regex
authorSergey M․ <dstftw@gmail.com>
Thu, 18 Aug 2016 14:30:55 +0000 (21:30 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 18 Aug 2016 14:30:55 +0000 (21:30 +0700)
youtube_dl/extractor/dbtv.py

index 73dba5e2aea481afa536bc24dc8dc0b936fb30e0..6d880d43d6507077018f9489749947d83a36f64b 100644 (file)
@@ -41,7 +41,7 @@ class DBTVIE(InfoExtractor):
     @staticmethod
     def _extract_urls(webpage):
         return [url for _, url in re.findall(
-            r'<iframe[^>]+src=(["\'])((?:https?:)?//(?:www\.)?dbtv\.no/lazyplayer/\d+.*?)\1',
+            r'<iframe[^>]+src=(["\'])((?:https?:)?//(?:www\.)?dbtv\.no/(?:lazy)?player/\d+.*?)\1',
             webpage)]
 
     def _real_extract(self, url):