mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 12:42:29 +03:00
fix miaopai downloading failure for url with parameter
This commit is contained in:
parent
091857613f
commit
8a9cb75e3a
@ -58,7 +58,7 @@ def yixia_download(url, output_dir = '.', merge = True, info_only = False, **kwa
|
|||||||
elif re.match(r'https?://m.miaopai.com/show/channel/.+', url): #Mobile
|
elif re.match(r'https?://m.miaopai.com/show/channel/.+', url): #Mobile
|
||||||
scid = match1(url, r'https?://m.miaopai.com/show/channel/(.+)\.htm')
|
scid = match1(url, r'https?://m.miaopai.com/show/channel/(.+)\.htm')
|
||||||
if scid == None :
|
if scid == None :
|
||||||
scid = match1(url, r'https?://m.miaopai.com/show/channel/(.+)')
|
scid = match1(url, r'https?://m.miaopai.com/show/channel/([^\?]+)')
|
||||||
|
|
||||||
elif 'xiaokaxiu.com' in hostname: #Xiaokaxiu
|
elif 'xiaokaxiu.com' in hostname: #Xiaokaxiu
|
||||||
yixia_download_by_scid = yixia_xiaokaxiu_download_by_scid
|
yixia_download_by_scid = yixia_xiaokaxiu_download_by_scid
|
||||||
|
Loading…
Reference in New Issue
Block a user