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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user