[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
parent 96a2daa1ee
commit 514aec1384

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(