mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 20:52:31 +03:00
little fix
This commit is contained in:
parent
8bc0ec7a71
commit
e0d211a357
@ -7,7 +7,7 @@ import json
|
||||
|
||||
|
||||
def longzhu_download(url, output_dir = '.', merge = True, info_only = False, **kwargs):
|
||||
host_name = url.split("/")[-2]
|
||||
host_name = url.split("/")[2]
|
||||
|
||||
if host_name == 'star.longzhu.com' or host_name == 'm.longzhu.com':
|
||||
domain_param = url[url.rfind('/')+1:]
|
||||
@ -81,4 +81,4 @@ def longzhu_download(url, output_dir = '.', merge = True, info_only = False, **k
|
||||
raise ValueError("Wrong url or unsupported link ... %s" % url) #only star,m and yoyo,three avaliable child sites of longzhu.com
|
||||
|
||||
download = longzhu_download
|
||||
download_playlist = playlist_not_supported('longzhu')
|
||||
download_playlist = playlist_not_supported('longzhu')
|
||||
|
Loading…
Reference in New Issue
Block a user