[polskieradio] Fix extraction
authorJakub Adam Wieczorek <ja.wieczorek@student.uw.edu.pl>
Thu, 15 Jun 2017 21:57:56 +0000 (23:57 +0200)
committerSergey M <dstftw@gmail.com>
Thu, 15 Jun 2017 21:57:56 +0000 (04:57 +0700)
youtube_dl/extractor/polskieradio.py

index 2ac1fcb0bc90f500696ca0dc29db9f4c911f0d27..978d6f813b6d0a88aafb707aba40de092c926a44 100644 (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(