]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/polskieradio.py
debian/control: State compliancy with Debian Policy 4.4.0.
[youtubedl] / youtube_dl / extractor / polskieradio.py
index 5ff173774a410bf0eba85069f6f1ed33cd583e7b..978d6f813b6d0a88aafb707aba40de092c926a44 100644 (file)
@@ -36,7 +36,7 @@ class PolskieRadioIE(InfoExtractor):
                 'timestamp': 1456594200,
                 'upload_date': '20160227',
                 'duration': 2364,
                 'timestamp': 1456594200,
                 'upload_date': '20160227',
                 'duration': 2364,
-                'thumbnail': 're:^https?://static\.prsa\.pl/images/.*\.jpg$'
+                'thumbnail': r're:^https?://static\.prsa\.pl/images/.*\.jpg$'
             },
         }],
     }, {
             },
         }],
     }, {
@@ -65,7 +65,7 @@ class PolskieRadioIE(InfoExtractor):
         webpage = self._download_webpage(url, playlist_id)
 
         content = self._search_regex(
         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(
             webpage, 'content')
 
         timestamp = unified_timestamp(self._html_search_regex(