summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Adam Wieczorek <ja.wieczorek@student.uw.edu.pl>2017-06-15 23:57:56 +0200
committerSergey M <dstftw@gmail.com>2017-06-16 04:57:56 +0700
commitb230fefc3c436b4d3ff278a11552b8a964b7056e (patch)
tree37a89c2ee20d2c8e12c66d51267a30d8fc606d65
parent96a2daa1ee5de9ddff5d0180fccb8376725de60c (diff)
downloadyoutube-dl-b230fefc3c436b4d3ff278a11552b8a964b7056e.tar.gz
youtube-dl-b230fefc3c436b4d3ff278a11552b8a964b7056e.tar.xz
youtube-dl-b230fefc3c436b4d3ff278a11552b8a964b7056e.zip
[polskieradio] Fix extraction
-rw-r--r--youtube_dl/extractor/polskieradio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/polskieradio.py b/youtube_dl/extractor/polskieradio.py
index 2ac1fcb0b..978d6f813 100644
--- a/youtube_dl/extractor/polskieradio.py
+++ b/youtube_dl/extractor/polskieradio.py
@@ -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(