diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-10 14:17:37 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-10 14:17:37 +0200 |
commit | d9f3250b1a12e50b681b2232d8153df049b1719d (patch) | |
tree | f5407328b04749a5530b74bb189b0faf781344f4 /module | |
parent | [EasybytezCom] Update LINK_PATTERN (diff) | |
download | pyload-d9f3250b1a12e50b681b2232d8153df049b1719d.tar.xz |
[XFSPHoster] Update LINK_PATTERN
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/XFSPHoster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/XFSPHoster.py b/module/plugins/internal/XFSPHoster.py index fdaa2eb43..228a55c82 100644 --- a/module/plugins/internal/XFSPHoster.py +++ b/module/plugins/internal/XFSPHoster.py @@ -21,7 +21,7 @@ class XFSPHoster(SimpleHoster): """ __name__ = "XFSPHoster" __type__ = "hoster" - __version__ = "0.01" + __version__ = "0.02" __pattern__ = None @@ -69,8 +69,8 @@ class XFSPHoster(SimpleHoster): self.fail("Missing HOSTER_NAME") if not self.LINK_PATTERN: - pattr = r'(http://([^/]*?%s|\d+\.\d+\.\d+\.\d+)(:\d+)?(/d/|(?:/files)?/\d+/\w+/)[^"\'<]+)' - self.LINK_PATTERN = pattr % self.HOSTER_NAME + pattern = r'(https?://(www\.)?([^/]*?%s|\d+\.\d+\.\d+\.\d+)(\:\d+)?(/d/|(/files)?/\d+/\w+/).+?)["\'<]' + self.LINK_PATTERN = pattern % self.HOSTER_NAME if isinstance(self.COOKIES, list): set_cookies(self.req.cj, self.COOKIES) |