diff options
| author | 2015-06-08 22:47:00 +0200 | |
|---|---|---|
| committer | 2015-06-08 22:47:00 +0200 | |
| commit | 9ac5219308e243711afc0ef99158ace05fd76428 (patch) | |
| tree | 2e5f39359b5453a4a7a2e365549ee2476af234bc /module/plugins/internal/XFSHoster.py | |
| parent | [SimpleCrypter] Fix handleDirect loop (diff) | |
| download | pyload-9ac5219308e243711afc0ef99158ace05fd76428.tar.xz | |
Fix https://github.com/pyload/pyload/issues/1468
Diffstat (limited to 'module/plugins/internal/XFSHoster.py')
| -rw-r--r-- | module/plugins/internal/XFSHoster.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index e0fd8fa8d..0591f1baf 100644 --- a/module/plugins/internal/XFSHoster.py +++ b/module/plugins/internal/XFSHoster.py @@ -41,7 +41,6 @@ class XFSHoster(SimpleHoster): ERROR_PATTERN = r'(?:class=["\']err["\'].*?>|<[Cc]enter><b>|>Error</td>|>\(ERROR:)(?:\s*<.+?>\s*)*(.+?)(?:["\']|<|\))' LINK_LEECH_PATTERN = r'<h2>Download Link</h2>\s*<textarea[^>]*>([^<]+)' - LINK_PATTERN = None #: final download url pattern CAPTCHA_PATTERN = r'(https?://[^"\']+?/captchas?/[^"\']+)' CAPTCHA_BLOCK_PATTERN = r'>Enter code.*?<div.*?>(.+?)</div>' @@ -112,7 +111,7 @@ class XFSHoster(SimpleHoster): self.logError(data['op'] if 'op' in data else _("UNKNOWN")) return "" - self.link = m.group(1).strip() #@TODO: Remove .strip() in 0.4.10 + self.link = m.group(1).strip() #@TODO: Remove `.strip()` in 0.4.10 def handlePremium(self, pyfile): |
