aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJianxinLi <[email protected]>2017-12-24 00:30:27 +0800
committerYen Chi Hsuan <[email protected]>2017-12-25 22:02:47 +0800
commitd99a1000c7522cb37910afe772d7317687521eb0 (patch)
treede941bc0642c6b78bad9e7406e1d47693592927c
parenta75419586bb900df711de49adf5047afa9f083ef (diff)
downloadyoutube-dl-d99a1000c7522cb37910afe772d7317687521eb0.tar.gz
youtube-dl-d99a1000c7522cb37910afe772d7317687521eb0.zip
[youku] Fix list extraction.(close #15065)
Change-Id: I578fdc5b69509bdcd8d3191e3917afe47c234ff6
-rw-r--r--youtube_dl/extractor/youku.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py
index 9d0caee93..3e64cce38 100644
--- a/youtube_dl/extractor/youku.py
+++ b/youtube_dl/extractor/youku.py
@@ -276,9 +276,9 @@ class YoukuShowIE(InfoExtractor):
r'<div[^>]+id="(reload_\d+)', first_page, 'first page reload id')
# The first reload_id has the same items as first_page
reload_ids = re.findall('<li[^>]+data-id="([^"]+)">', first_page)
+ entries.extend(initial_entries)
for idx, reload_id in enumerate(reload_ids):
if reload_id == first_page_reload_id:
- entries.extend(initial_entries)
continue
_, new_entries = self._extract_entries(
'http://list.youku.com/show/episode', show_id,