diff options
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hoster/PromptfileCom.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/module/plugins/hoster/PromptfileCom.py b/module/plugins/hoster/PromptfileCom.py index 11b7d5857..4af762e29 100644 --- a/module/plugins/hoster/PromptfileCom.py +++ b/module/plugins/hoster/PromptfileCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo  class PromptfileCom(SimpleHoster):      __name__ = "PromptfileCom"      __type__ = "hoster" -    __version__ = "0.1" +    __version__ = "0.11"      __pattern__ = r'https?://(?:www\.)?promptfile\.com/' @@ -21,7 +21,7 @@ class PromptfileCom(SimpleHoster):      OFFLINE_PATTERN = r'<span style="[^"]*" title="File Not Found">File Not Found</span>'      CHASH_PATTERN = r'<input type="hidden" name="chash" value="([^"]*)" />' -    LINK_PATTERN = r'clip: {\s*url: \'(https?://(?:www\.)promptfile[^\']*)\',' +    LINK_PATTERN = r'<a href=\"(.+)\" target=\"_blank\" class=\"view_dl_link\">Download File</a>'      def handleFree(self): @@ -35,7 +35,7 @@ class PromptfileCom(SimpleHoster):          self.html = self.load(self.pyfile.url, decode=True, post={'chash': chash})          # STAGE 2: get the direct link -        m = re.search(self.LINK_PATTERN, self.html, re.MULTILINE | re.DOTALL) +        m = re.search(self.LINK_PATTERN, self.html)          if m is None:              self.parseError("Unable to detect direct link")          direct = m.group(1) | 
