diff options
author | spoob <spoob@gmx.de> | 2009-11-15 20:04:28 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-11-15 20:04:28 +0100 |
commit | bcdef10ae4237397c0a30f4efa6ae765ea1493e0 (patch) | |
tree | b9ff7caffca9042bcd3eb7b96998abfdac8b4fa4 | |
parent | Cleaned plugin index function (diff) | |
download | pyload-bcdef10ae4237397c0a30f4efa6ae765ea1493e0.tar.xz |
fixed youtube
-rw-r--r-- | config | 2 | ||||
-rw-r--r-- | module/plugins/YoutubeCom.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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" |