mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-31 03:26:05 +02:00
[dailymotion] Fix playlists
This commit is contained in:
parent
b5349e8721
commit
f058e34011
@ -186,7 +186,7 @@ def _extract_entries(self, id):
|
|||||||
webpage = self._download_webpage(request,
|
webpage = self._download_webpage(request,
|
||||||
id, u'Downloading page %s' % pagenum)
|
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))
|
video_ids.extend(re.findall(r'data-id="(.+?)"', playlist_el))
|
||||||
|
|
||||||
if re.search(self._MORE_PAGES_INDICATOR, webpage, re.DOTALL) is None:
|
if re.search(self._MORE_PAGES_INDICATOR, webpage, re.DOTALL) is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user