1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-27 20:51:49 +00:00

[polskieradio] Fix extraction

This commit is contained in:
Jakub Adam Wieczorek 2017-06-15 23:57:56 +02:00 committed by Sergey M
parent 96a2daa1ee
commit b230fefc3c

View file

@ -65,7 +65,7 @@ class PolskieRadioIE(InfoExtractor):
webpage = self._download_webpage(url, playlist_id) webpage = self._download_webpage(url, playlist_id)
content = self._search_regex( content = self._search_regex(
r'(?s)<div[^>]+class="audio atarticle"[^>]*>(.+?)<script>', r'(?s)<div[^>]+class="\s*this-article\s*"[^>]*>(.+?)<div[^>]+class="tags"[^>]*>',
webpage, 'content') webpage, 'content')
timestamp = unified_timestamp(self._html_search_regex( timestamp = unified_timestamp(self._html_search_regex(