]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[dailymotion] Fix playlists
authorPhilipp Hagemeister <phihag@phihag.de>
Sat, 16 Nov 2013 00:56:23 +0000 (01:56 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 16 Nov 2013 00:56:23 +0000 (01:56 +0100)
youtube_dl/extractor/dailymotion.py

index e87690f9d288103ea222e1c216786b42e89364de..71f5e03eea393b7733bf3bfeb4f2eeea5b21eb85 100644 (file)
@@ -186,7 +186,7 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor):
             webpage = self._download_webpage(request,
                                              id, u'Downloading page %s' % pagenum)
 
-            playlist_el = get_element_by_attribute(u'class', u'video_list', webpage)
+            playlist_el = get_element_by_attribute(u'class', u'row video_list', webpage)
             video_ids.extend(re.findall(r'data-id="(.+?)"', playlist_el))
 
             if re.search(self._MORE_PAGES_INDICATOR, webpage, re.DOTALL) is None: