diff --git a/src/you_get/extractor/qq.py b/src/you_get/extractor/qq.py index c8a1daa7..3ca87a58 100644 --- a/src/you_get/extractor/qq.py +++ b/src/you_get/extractor/qq.py @@ -33,6 +33,11 @@ def qq_download(url, output_dir = '.', merge = True, info_only = False): vid = r1(r'http://static.video.qq.com/.*vid=(\w+)', url) url = "http://v.qq.com/page/%s.html" % vid + if re.match(r'http://v.qq.com/cover/.*\.html', url): + html = get_html(url) + vid = r1(r'vid:"([^"]+)"', html) + url = 'http://sns.video.qq.com/tvideo/fcgi-bin/video?vid=%s' % vid + html = get_html(url) title = match1(html, r'