diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-04 23:35:49 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-04 23:35:49 +0200 |
commit | a4a2330adc70f9d0b3d2bc2e10386e2a5d8749ea (patch) | |
tree | 9cf4387a77910a16b5b842c3627b5fa01cd76802 /module/plugins | |
parent | [HotfileFolderCom] Mark dead (diff) | |
download | pyload-a4a2330adc70f9d0b3d2bc2e10386e2a5d8749ea.tar.xz |
Spare __pattern__ cosmetics
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/crypter/LixIn.py | 4 | ||||
-rw-r--r-- | module/plugins/hoster/HotfileCom.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/SpeedyshareCom.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/crypter/LixIn.py b/module/plugins/crypter/LixIn.py index beba5ed04..dec2e02d3 100644 --- a/module/plugins/crypter/LixIn.py +++ b/module/plugins/crypter/LixIn.py @@ -10,7 +10,7 @@ class LixIn(Crypter): __type__ = "crypter" __version__ = "0.22" - __pattern__ = r'http://(www.)?lix.in/(?P<id>.*)' + __pattern__ = r'http://(?:www\.)?lix\.in/(?P<ID>.+)' __description__ = """Lix.in decrypter plugin""" __author_name__ = "spoob" @@ -28,7 +28,7 @@ class LixIn(Crypter): if m is None: self.fail("couldn't identify file id") - id = m.group("id") + id = m.group("ID") self.logDebug("File id is %s" % id) self.html = self.req.load(url, decode=True) diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py index aac312a6b..d336c4790 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -8,7 +8,7 @@ class HotfileCom(DeadHoster): __type__ = "hoster" __version__ = "0.37" - __pattern__ = r'https?://(www.)?hotfile\.com/dl/\d+/[0-9a-zA-Z]+/' + __pattern__ = r'https?://(?:www\.)?hotfile\.com/dl/\d+/\w+' __description__ = """Hotfile.com hoster plugin""" __author_name__ = ("sitacuisses", "spoob", "mkaay", "JoKoT3") diff --git a/module/plugins/hoster/SpeedyshareCom.py b/module/plugins/hoster/SpeedyshareCom.py index 49d3a4dab..78b3b28c6 100644 --- a/module/plugins/hoster/SpeedyshareCom.py +++ b/module/plugins/hoster/SpeedyshareCom.py @@ -15,7 +15,7 @@ class SpeedyshareCom(SimpleHoster): __type__ = "hoster" __version__ = "0.02" - __pattern__ = r"https?://(www\.)?(speedyshare\.com|speedy\.sh)/\w+" + __pattern__ = r"https?://(?:www\.)?(speedyshare\.com|speedy\.sh)/\w+" __description__ = """Speedyshare.com hoster plugin""" __author_name__ = "zapp-brannigan" |