From ce9e5bf944d33c762cc18b118b5325049d1d0fec Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 2 Jan 2015 13:40:13 +0100 Subject: [PremiumTo] Don't handle direct link --- module/plugins/hoster/PremiumTo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/PremiumTo.py') 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") -- cgit v1.2.3