projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a754195
)
[youku] Fix list extraction.(close #15065)
author
JianxinLi
<justcoxier@gmail.com>
Sat, 23 Dec 2017 16:30:27 +0000
(
00:30
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Mon, 25 Dec 2017 14:02:47 +0000
(22:02 +0800)
Change-Id: I578fdc5b69509bdcd8d3191e3917afe47c234ff6
youtube_dl/extractor/youku.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youku.py
b/youtube_dl/extractor/youku.py
index 9d0caee9345e8b132f262cac0063704a654b1d22..3e64cce3888bd5b79a020d54d137898dc2d9692e 100644
(file)
--- 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,