mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
Merge branch 'ksnzh-develop' into develop
This commit is contained in:
commit
db49323e93
@ -35,7 +35,7 @@ def dilidili_parser_data_to_stream_types(typ ,vid ,hd2 ,sign, tmsign, ulk):
|
|||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
def dilidili_download(url, output_dir = '.', merge = False, info_only = False, **kwargs):
|
def dilidili_download(url, output_dir = '.', merge = False, info_only = False, **kwargs):
|
||||||
if re.match(r'http://www.dilidili.com/watch/\w+', url):
|
if re.match(r'http://www.dilidili.com/watch\S+', url):
|
||||||
html = get_content(url)
|
html = get_content(url)
|
||||||
title = match1(html, r'<title>(.+)丨(.+)</title>') #title
|
title = match1(html, r'<title>(.+)丨(.+)</title>') #title
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user