projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[radiocanada] Relax DRM check
[youtube-dl]
/
youtube_dl
/
extractor
/
polskieradio.py
diff --git
a/youtube_dl/extractor/polskieradio.py
b/youtube_dl/extractor/polskieradio.py
index 5ff173774a410bf0eba85069f6f1ed33cd583e7b..978d6f813b6d0a88aafb707aba40de092c926a44 100644
(file)
--- a/
youtube_dl/extractor/polskieradio.py
+++ b/
youtube_dl/extractor/polskieradio.py
@@
-36,7
+36,7
@@
class PolskieRadioIE(InfoExtractor):
'timestamp': 1456594200,
'upload_date': '20160227',
'duration': 2364,
'timestamp': 1456594200,
'upload_date': '20160227',
'duration': 2364,
- 'thumbnail': 're:^https?://static\.prsa\.pl/images/.*\.jpg$'
+ 'thumbnail':
r
're:^https?://static\.prsa\.pl/images/.*\.jpg$'
},
}],
}, {
},
}],
}, {
@@
-65,7
+65,7
@@
class PolskieRadioIE(InfoExtractor):
webpage = self._download_webpage(url, playlist_id)
content = self._search_regex(
webpage = self._download_webpage(url, playlist_id)
content = self._search_regex(
- r'(?s)<div[^>]+class="
audio atarticle"[^>]*>(.+?)<script
>',
+ r'(?s)<div[^>]+class="
\s*this-article\s*"[^>]*>(.+?)<div[^>]+class="tags"[^>]*
>',
webpage, 'content')
timestamp = unified_timestamp(self._html_search_regex(
webpage, 'content')
timestamp = unified_timestamp(self._html_search_regex(