mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
fix issue #2 that can't download some videos from v.qq.com
This commit is contained in:
parent
ee3d248afb
commit
0dcc813917
@ -17,7 +17,7 @@ def qq_download(url, output_dir = '.', merge = True, info_only = False):
|
||||
if re.match(r'http://v.qq.com/([^\?]+)\?vid', url):
|
||||
aid = r1(r'(.*)\.html', url)
|
||||
vid = r1(r'http://v.qq.com/[^\?]+\?vid=(\w+)', url)
|
||||
url = aid + "/" + vid + ".html"
|
||||
url = aid + ".html?vid=" + vid
|
||||
|
||||
html = get_html(url)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user