mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-11 00:37:18 +08:00
[webofstories] fix playlist downloads
This commit is contained in:
parent
d6ef8b4dd4
commit
64c4485151
@ -133,8 +133,8 @@ class WebOfStoriesPlaylistIE(InfoExtractor):
|
|||||||
webpage = self._download_webpage(url, playlist_id)
|
webpage = self._download_webpage(url, playlist_id)
|
||||||
|
|
||||||
entries = [
|
entries = [
|
||||||
self.url_result('http://www.webofstories.com/play/%s' % video_number, 'WebOfStories')
|
self.url_result('http://www.webofstories.com/play/%s/%d' % (playlist_id, video_number), 'WebOfStories')
|
||||||
for video_number in set(re.findall(r'href="/playAll/%s\?sId=(\d+)"' % playlist_id, webpage))
|
for video_number in range(1, len(re.findall(r'class="playListItem\s+"', webpage)) + 2)
|
||||||
]
|
]
|
||||||
|
|
||||||
title = self._search_regex(
|
title = self._search_regex(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user