mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
commit
79455bbc14
@ -20,7 +20,7 @@ def miomio_download(url, output_dir = '.', merge = True, info_only = False):
|
||||
youku_download_by_vid(id, title=title, output_dir=output_dir, merge=merge, info_only=info_only)
|
||||
elif t == 'tudou':
|
||||
tudou_download_by_id(id, title, output_dir=output_dir, merge=merge, info_only=info_only)
|
||||
elif t == 'sina':
|
||||
elif t == 'sina' or t=='video':
|
||||
url = "http://www.miomio.tv/mioplayer/mioplayerconfigfiles/sina.php?vid=" + id
|
||||
xml = get_content (url, headers=fake_headers, decoded=True)
|
||||
sina_download_by_xml(xml, title, output_dir=output_dir, merge=merge, info_only=info_only)
|
||||
|
Loading…
Reference in New Issue
Block a user