1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-02 21:13:08 +08:00

[polskieradio] Fix the extractor.

The page structure has slightly changed recently.
This fixes the tests which have until now been failing.
This commit is contained in:
Jakub Adam Wieczorek
2017-06-15 21:27:34 +02:00
Unverified
parent 96a2daa1ee
commit 514aec1384
+1 -1
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(