summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/YoutubeBatch.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-07 23:50:03 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-14 10:59:52 +0200
commit4cd693b5c4f2ede4ac4928b5b433b3932d64519a (patch)
tree5a22ec483885290094ac38a06a8c3bf877856820 /module/plugins/crypter/YoutubeBatch.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-4cd693b5c4f2ede4ac4928b5b433b3932d64519a.tar.xz
save_join -> safe_join & save_path -> safe_filename
Diffstat (limited to 'module/plugins/crypter/YoutubeBatch.py')
-rw-r--r--module/plugins/crypter/YoutubeBatch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/YoutubeBatch.py b/module/plugins/crypter/YoutubeBatch.py
index 1caca16bd..158dfeee9 100644
--- a/module/plugins/crypter/YoutubeBatch.py
+++ b/module/plugins/crypter/YoutubeBatch.py
@@ -6,7 +6,7 @@ from urlparse import urljoin
from module.common.json_layer import json_loads
from module.plugins.Crypter import Crypter
-from module.utils import save_join
+from module.utils import safe_join
API_URL = "AIzaSyCKnWLNlkX-L4oD1aEzqqhRw1zczeD6_k0"
@@ -122,7 +122,7 @@ class YoutubeBatch(Crypter):
for p in playlists:
p_name = p['title']
p_videos = self.getVideosId(p['id'])
- p_folder = save_join(self.config['general']['download_folder'], p['channelTitle'], p_name)
+ p_folder = safe_join(self.config['general']['download_folder'], p['channelTitle'], p_name)
self.logDebug("%s video\s found on playlist \"%s\"" % (len(p_videos), p_name))
if not p_videos: