From ff581d9a4a1637b4e06bcbe77d67591f9279fe1b Mon Sep 17 00:00:00 2001 From: Stefano Date: Sun, 21 Jul 2013 15:03:21 +0200 Subject: Fixed PEP 8 violations in Crypters (cherry-picked from 4b61d36bf18931df0a9720047b3619ce245f8a1b) --- pyload/plugins/crypter/YoutubeBatch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pyload/plugins/crypter/YoutubeBatch.py') diff --git a/pyload/plugins/crypter/YoutubeBatch.py b/pyload/plugins/crypter/YoutubeBatch.py index 72b72aab7..b6178448d 100644 --- a/pyload/plugins/crypter/YoutubeBatch.py +++ b/pyload/plugins/crypter/YoutubeBatch.py @@ -8,6 +8,7 @@ from module.plugins.Crypter import Crypter API_KEY = "AIzaSyCKnWLNlkX-L4oD1aEzqqhRw1zczeD6_k0" + class YoutubeBatch(Crypter): __name__ = "YoutubeBatch" __type__ = "container" @@ -18,7 +19,8 @@ class YoutubeBatch(Crypter): __author_mail__ = ("RaNaN@pyload.org", "spoob@pyload.org", "zoidberg@mujmail.cz", "roland@enkore.de") def get_videos(self, playlist_id, token=None): - url = "https://www.googleapis.com/youtube/v3/playlistItems?playlistId=%s&part=snippet&key=%s&maxResults=50" % (playlist_id, API_KEY) + url = "https://www.googleapis.com/youtube/v3/playlistItems?playlistId=%s&part=snippet&key=%s&maxResults=50" % ( + playlist_id, API_KEY) if token: url += "&pageToken=" + token -- cgit v1.2.3