1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[dbtv] Relax embed regex

This commit is contained in:
Sergey M․ 2016-08-18 21:30:55 +07:00
parent b0c8f2e9c8
commit b0d578ff7b
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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):