diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-11-01 20:57:14 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-11-16 17:59:00 +0100 |
commit | d4484e88e0d599da5912ba7e64dbf1d87956c924 (patch) | |
tree | b8ec5d77457685560516dcd069ce7facaa9c0e96 /module/plugins/crypter/YoutubeBatch.py | |
parent | Crypter: YoutubeBatch rewritten (diff) | |
download | pyload-d4484e88e0d599da5912ba7e64dbf1d87956c924.tar.xz |
YoutubeBatch: log video links only if available
Diffstat (limited to 'module/plugins/crypter/YoutubeBatch.py')
-rw-r--r-- | module/plugins/crypter/YoutubeBatch.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/crypter/YoutubeBatch.py b/module/plugins/crypter/YoutubeBatch.py index b7a00f96d..ee84f0528 100644 --- a/module/plugins/crypter/YoutubeBatch.py +++ b/module/plugins/crypter/YoutubeBatch.py @@ -105,10 +105,11 @@ class YoutubeBatch(Crypter): video_links = [x for x in self.get_videos(id)] self.logInfo("%s videos found on playlist \"%s\" (channel \"%s\")" % (len(video_links), playlist_name, channel_title)) - self.logDebug("Video links = %s" % video_links) if not video_links: continue + self.logDebug("Video links = %s" % video_links) + folder = join(self.config['general']['download_folder'], channel_title, playlist_name) self.packages.append((playlist_name, video_links, folder)) #Note: folder is NOT used actually! |