1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 14:37:55 +01: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)
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(