From 6f77174f3495bfc01e3d88631a23187fb6ae1138 Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Sat, 24 Aug 2013 11:19:23 +0200 Subject: [PATCH] YinYueTai: fix --- src/you_get/downloader/yinyuetai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/you_get/downloader/yinyuetai.py b/src/you_get/downloader/yinyuetai.py index 2048aed9..1249845c 100644 --- a/src/you_get/downloader/yinyuetai.py +++ b/src/you_get/downloader/yinyuetai.py @@ -20,7 +20,7 @@ def yinyuetai_download_by_id(id, title = None, output_dir = '.', merge = True, i download_urls([url], title, ext, size, output_dir, merge = merge) def yinyuetai_download(url, output_dir = '.', merge = True, info_only = False): - id = r1(r'http://www.yinyuetai.com/video/(\d+)$', url) + id = r1(r'http://\w+.yinyuetai.com/video/(\d+)$', url) assert id html = get_html(url, 'utf-8') title = r1(r'', html)