Browse Source

[dbtv] Relax embed regex

totalwebcasting
Sergey M․ 8 years ago
parent
commit
b0d578ff7b
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/dbtv.py

+ 1
- 1
youtube_dl/extractor/dbtv.py 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):


Loading…
Cancel
Save