summaryrefslogtreecommitdiffstats
path: root/Plugins/YoutubeCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-07 13:23:52 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-07 13:23:52 +0200
commitd59f4d94c6b627b83269c643703824afb7faab14 (patch)
treec3e9756164daf58dfdfff69be8624d18d1d50934 /Plugins/YoutubeCom.py
parent... (diff)
downloadpyload-d59f4d94c6b627b83269c643703824afb7faab14.tar.xz
Rs fix, timed reconnect, Cli local option + displaying size
Diffstat (limited to 'Plugins/YoutubeCom.py')
-rw-r--r--Plugins/YoutubeCom.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Plugins/YoutubeCom.py b/Plugins/YoutubeCom.py
index c780345ee..7428f532d 100644
--- a/Plugins/YoutubeCom.py
+++ b/Plugins/YoutubeCom.py
@@ -47,7 +47,10 @@ class YoutubeCom(Plugin):
file_suffix = ".flv"
if self.config['high_quality']:
file_suffix = ".mp4"
- return re.search(file_name_pattern, self.html).group(1).replace("/", "") + file_suffix
+ name = re.search(file_name_pattern, self.html).group(1).replace("/", "") + file_suffix
+
+ name = name.replace("&amp;", "&")
+ return name
def file_exists(self):
""" returns True or False