summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-11-15 20:04:28 +0100
committerGravatar spoob <spoob@gmx.de> 2009-11-15 20:04:28 +0100
commitbcdef10ae4237397c0a30f4efa6ae765ea1493e0 (patch)
treeb9ff7caffca9042bcd3eb7b96998abfdac8b4fa4
parentCleaned plugin index function (diff)
downloadpyload-bcdef10ae4237397c0a30f4efa6ae765ea1493e0.tar.xz
fixed youtube
-rw-r--r--config2
-rw-r--r--module/plugins/YoutubeCom.py2
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"<title>YouTube - (.*)</title>"
+ file_name_pattern = r"'VIDEO_TITLE': '(.*)',"
file_suffix = ".flv"
if self.config['high_quality']:
file_suffix = ".mp4"