diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-10-26 00:59:45 +0100 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-10-26 00:59:45 +0100 |
commit | 772551763b1018258599956f434f53c39fa634da (patch) | |
tree | 90f0c5a35b472fb33bc59c9599999a1a726d1b70 /module | |
parent | Merge pull request #2111 from GammaC0de/patch-7 (diff) | |
download | pyload-772551763b1018258599956f434f53c39fa634da.tar.xz |
Update YoutubeComFolder.py
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/crypter/YoutubeComFolder.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/YoutubeComFolder.py b/module/plugins/crypter/YoutubeComFolder.py index ad8721af6..22430e388 100644 --- a/module/plugins/crypter/YoutubeComFolder.py +++ b/module/plugins/crypter/YoutubeComFolder.py @@ -10,7 +10,7 @@ from module.plugins.internal.utils import fs_join, json class YoutubeComFolder(Crypter): __name__ = "YoutubeComFolder" __type__ = "crypter" - __version__ = "1.05" + __version__ = "1.06" __status__ = "testing" __pattern__ = r'https?://(?:www\.|m\.)?youtube\.com/(?P<TYPE>user|playlist|view_play_list)(/|.*?[?&](?:list|p)=)(?P<ID>[\w\-]+)' @@ -108,7 +108,10 @@ class YoutubeComFolder(Crypter): playlists = self.get_playlists(channel['id']) self.log_debug("%s playlist\s found on channel \"%s\"" % (len(playlists), channel['title'])) - relatedplaylist = {p_name: self.get_playlist(p_id) for p_name, p_id in channel['relatedPlaylists'].items()} + relatedplaylist = dict() + for p_name, p_id in channel['relatedPlaylists'].items(): + relatedplaylist.update({p_name: self.get_playlist(p_id)}) + self.log_debug("Channel's related playlists found = %s" % relatedplaylist.keys()) relatedplaylist['uploads']['title'] = "Unplaylisted videos" |