Browse Source

[dbtv] Relax embed regex

Sergey M․ 9 năm trước cách đây
mục cha
commit
b0d578ff7b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      youtube_dl/extractor/dbtv.py

+ 1 - 1
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'<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):