diff options
author | 2014-04-11 12:21:37 +0200 | |
---|---|---|
committer | 2014-04-21 17:20:49 +0200 | |
commit | c7b21dbabe0d04668eae1c26db61b5e63d5ae774 (patch) | |
tree | fccdcdd2bb4f687d8888e9da4b9de5f68773bf71 /pyload/plugins/hoster/CramitIn.py | |
parent | Use re.match for __pattern__ matches instead re.search (diff) | |
download | pyload-c7b21dbabe0d04668eae1c26db61b5e63d5ae774.tar.xz |
Fix HOSTER_NAME in XFileSharingPro plugins
Merges vuolter/pyload@f20b998
(cherry picked from commit 02e1638896c073f5d1c904a3e611d09298df79fa)
Diffstat (limited to 'pyload/plugins/hoster/CramitIn.py')
-rw-r--r-- | pyload/plugins/hoster/CramitIn.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/CramitIn.py b/pyload/plugins/hoster/CramitIn.py index a810dc69f..7891a480e 100644 --- a/pyload/plugins/hoster/CramitIn.py +++ b/pyload/plugins/hoster/CramitIn.py @@ -11,9 +11,10 @@ class CramitIn(XFileSharingPro): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" + HOSTER_NAME = "cramit.in" + FILE_INFO_PATTERN = r'<span class=t2>\s*(?P<N>.*?)</span>.*?<small>\s*\((?P<S>.*?)\)' DIRECT_LINK_PATTERN = r'href="(http://cramit.in/file_download/.*?)"' - HOSTER_NAME = "cramit.in" def setup(self): self.resumeDownload = self.multiDL = self.premium |