diff options
author | spoob <spoob@gmx.de> | 2010-01-13 14:28:55 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2010-01-13 14:28:55 +0100 |
commit | 5d1ecc6df93a6f4015fe5b83b3391ddd8c90f7b5 (patch) | |
tree | 935775250e2986f8596acf924808375ba8cd520d /module/plugins/decrypter | |
parent | More YoutubeChannel Options (diff) | |
download | pyload-5d1ecc6df93a6f4015fe5b83b3391ddd8c90f7b5.tar.xz |
YoutubeChannel Checks File Exists
Diffstat (limited to 'module/plugins/decrypter')
-rw-r--r-- | module/plugins/decrypter/YoutubeChannel.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/decrypter/YoutubeChannel.py b/module/plugins/decrypter/YoutubeChannel.py index 2cea419de..a5751ed7c 100644 --- a/module/plugins/decrypter/YoutubeChannel.py +++ b/module/plugins/decrypter/YoutubeChannel.py @@ -13,7 +13,7 @@ class YoutubeChannel(Plugin): props['name'] = "YoutubeChannel" props['type'] = "container" props['pattern'] = r"http://(www\.)?(de\.)?\youtube\.com/user/*" - props['version'] = "0.4" + props['version'] = "0.9" props['description'] = """Youtube.com Channel Download Plugin""" props['author_name'] = ("RaNaN", "Spoob") props['author_mail'] = ("RaNaN@pyload.org", "spoob@pyload.org") @@ -23,12 +23,9 @@ class YoutubeChannel(Plugin): self.read_config() self.user = re.search(r"/user/(.+)", self.parent.url).group(1) - def file_exists(self): - """ returns True or False - """ - rep = self.req.load("http://gdata.youtube.com/feeds/api/users/%s" % self.user) - print rep + if "User not found" in self.req.load("http://gdata.youtube.com/feeds/api/users/%s" % self.user): + return False return True def proceed(self, url, location): |