diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-02 13:40:13 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-02 13:40:13 +0100 |
commit | ce9e5bf944d33c762cc18b118b5325049d1d0fec (patch) | |
tree | 12983eed541fdcaba8e58b3c9873df19ef43b5c5 /module/plugins | |
parent | [RehostTo] Fixup (diff) | |
download | pyload-ce9e5bf944d33c762cc18b118b5325049d1d0fec.tar.xz |
[PremiumTo] Don't handle direct link
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/PremiumTo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/PremiumTo.py b/module/plugins/hoster/PremiumTo.py index 5dd8e3bec..8a998c816 100644 --- a/module/plugins/hoster/PremiumTo.py +++ b/module/plugins/hoster/PremiumTo.py @@ -11,9 +11,9 @@ from module.utils import fs_encode class PremiumTo(MultiHoster): __name__ = "PremiumTo" __type__ = "hoster" - __version__ = "0.17" + __version__ = "0.18" - __pattern__ = r'https?://(?:www\.)?premium\.to/.+' + __pattern__ = r'^unmatchable$' __description__ = """Premium.to hoster plugin""" __license__ = "GPLv3" @@ -34,7 +34,7 @@ class PremiumTo(MultiHoster): def checkFile(self): super(PremiumTo, self).checkFile() - check = self.checkDownload({"nopremium": "No premium account available"}) + check = self.checkDownload({'nopremium': "No premium account available"}) if check == "nopremium": self.retry(60, 5 * 60, "No premium account available") |