From f5c22cdfef99878027f3f9e78ff9ae2701a21a3f Mon Sep 17 00:00:00 2001 From: ksnzh Date: Tue, 10 May 2016 23:04:55 +0800 Subject: [PATCH] fix the url 'watch/' and 'watch3/' error --- src/you_get/extractors/dilidili.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/you_get/extractors/dilidili.py b/src/you_get/extractors/dilidili.py index 8433294b..082f84e1 100755 --- a/src/you_get/extractors/dilidili.py +++ b/src/you_get/extractors/dilidili.py @@ -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): - if re.match(r'http://www.dilidili.com/watch\S', url): + if re.match(r'http://www.dilidili.com/watch\S+', url): html = get_content(url) title = match1(html, r'(.+)δΈ¨(.+)') #title