mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
[ixigua] fix 'string indices must be integers'
This commit is contained in:
parent
af3468fa05
commit
b81b4ae8dd
@ -95,6 +95,8 @@ def ixigua_download(url, output_dir='.', merge=True, info_only=False, stream_id=
|
|||||||
|
|
||||||
def convertStreams(video_list, audio_url):
|
def convertStreams(video_list, audio_url):
|
||||||
streams = []
|
streams = []
|
||||||
|
if type(video_list) == dict:
|
||||||
|
video_list = video_list.values()
|
||||||
for dynamic_video in video_list:
|
for dynamic_video in video_list:
|
||||||
streams.append({
|
streams.append({
|
||||||
'file_id': dynamic_video['file_hash'],
|
'file_id': dynamic_video['file_hash'],
|
||||||
|
Loading…
Reference in New Issue
Block a user