mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 12:42:29 +03:00
This commit is contained in:
parent
3165aaf950
commit
55a5eb73aa
@ -212,7 +212,7 @@ class QQ(VideoExtractor):
|
||||
def __getitem__(self, key):
|
||||
if key == 'src' and 'src' not in self:
|
||||
self['src'] = []
|
||||
for idx in range(1, vi0['cl']['fc'] + 1):
|
||||
for idx in range(1, vi0['cl']['fc'] + 1) or [1]:
|
||||
vkey = self._getvkey(vid, self.stream_id, idx)
|
||||
if vkey:
|
||||
url = '{prefix}/{filename}?vkey={vkey}'.format(prefix=url_prefix, filename=self._getfilename(lnk=lnk, stream_id=self.stream_id, idx=idx), vkey=vkey)
|
||||
|
Loading…
Reference in New Issue
Block a user