From 17533bf6933d3c33be2c238c987275dd1c6da0b4 Mon Sep 17 00:00:00 2001 From: ksnzh Date: Tue, 10 May 2016 22:18:34 +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 f3f8e197..8433294b 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\w+', url): + if re.match(r'http://www.dilidili.com/watch\S', url): html = get_content(url) title = match1(html, r'(.+)δΈ¨(.+)') #title