From bcdef10ae4237397c0a30f4efa6ae765ea1493e0 Mon Sep 17 00:00:00 2001 From: spoob Date: Sun, 15 Nov 2009 20:04:28 +0100 Subject: fixed youtube --- config | 2 +- module/plugins/YoutubeCom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index 58df443a2..16a78b2ca 100644 --- a/config +++ b/config @@ -22,7 +22,7 @@ use_reconnect = False link_file = links.txt failed_file = failed_links.txt reconnect_method = reconnect_method -debug_mode = False +debug_mode = True max_download_time = 18000 [updates] diff --git a/module/plugins/YoutubeCom.py b/module/plugins/YoutubeCom.py index c93c662d1..38a4934df 100644 --- a/module/plugins/YoutubeCom.py +++ b/module/plugins/YoutubeCom.py @@ -43,7 +43,7 @@ class YoutubeCom(Plugin): if self.html == None: self.download_html() - file_name_pattern = r"YouTube - (.*)" + file_name_pattern = r"'VIDEO_TITLE': '(.*)'," file_suffix = ".flv" if self.config['high_quality']: file_suffix = ".mp4" -- cgit v1.2.3