From acc46fc3497a66a427b795b4a22c6e71d69185a1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 13 Dec 2014 15:56:57 +0100 Subject: Update --- pyload/plugins/crypter/ImgurComAlbum.py | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 pyload/plugins/crypter/ImgurComAlbum.py (limited to 'pyload/plugins/crypter/ImgurComAlbum.py') diff --git a/pyload/plugins/crypter/ImgurComAlbum.py b/pyload/plugins/crypter/ImgurComAlbum.py deleted file mode 100644 index b1e7d3c37..000000000 --- a/pyload/plugins/crypter/ImgurComAlbum.py +++ /dev/null @@ -1,27 +0,0 @@ -import re - -from pyload.plugins.internal.SimpleCrypter import SimpleCrypter -from pyload.utils import uniqify - - -class ImgurComAlbum(SimpleCrypter): - __name = "ImgurComAlbum" - __type = "crypter" - __version = "0.51" - - __pattern = r'https?://(?:www\.|m\.)?imgur\.com/(a|gallery|)/?\w{5,7}' - __config = [("use_subfolder", "bool", "Save package to subfolder", True), - ("subfolder_per_package", "bool", "Create a subfolder for each package", True)] - - __description = """Imgur.com decrypter plugin""" - __license = "GPLv3" - __authors = [("nath_schwarz", "nathan.notwhite@gmail.com")] - - - NAME_PATTERN = r'(?P.+?) - Imgur' - LINK_PATTERN = r'i\.imgur\.com/\w{7}s?\.(?:jpeg|jpg|png|gif|apng)' - - - def getLinks(self): - f = lambda url: "http://" + re.sub(r'(\w{7})s\.', r'\1.', url) - return uniqify(map(f, re.findall(self.LINK_PATTERN, self.html))) -- cgit v1.2.3