From 869ed9da4f1f6458161634ce92f776e6ceb36974 Mon Sep 17 00:00:00 2001 From: jackyzy823 Date: Mon, 25 Aug 2014 17:42:46 +0800 Subject: [PATCH] quick fix for #397 --- src/you_get/extractors/miomio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/you_get/extractors/miomio.py b/src/you_get/extractors/miomio.py index 21fd642c..f95b568b 100644 --- a/src/you_get/extractors/miomio.py +++ b/src/you_get/extractors/miomio.py @@ -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)