mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
[youku] (partly) fix #996
This commit is contained in:
parent
ebdc27bce5
commit
c4491551b2
@ -278,7 +278,7 @@ class Youku(VideoExtractor):
|
|||||||
streamfileid = piece['fileid']
|
streamfileid = piece['fileid']
|
||||||
for no in range(0, len(segs)):
|
for no in range(0, len(segs)):
|
||||||
k = segs[no]['key']
|
k = segs[no]['key']
|
||||||
assert k != -1
|
if k == -1: break # we hit the paywall; stop here
|
||||||
fileid, ep = self.__class__.generate_ep(no, streamfileid,
|
fileid, ep = self.__class__.generate_ep(no, streamfileid,
|
||||||
sid, token)
|
sid, token)
|
||||||
q = parse.urlencode(dict(
|
q = parse.urlencode(dict(
|
||||||
|
Loading…
Reference in New Issue
Block a user