[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 @@ def _real_extract(self, url):
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(