diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-22 23:26:46 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-22 23:26:46 +0200 |
commit | 1293f4c3aaf0744b98fcd538bd2ddb8cb1d1733c (patch) | |
tree | 6cb181d40d99e395d56695f2ac24f4261636cdbe /module/plugins/internal | |
parent | [SimpleHoster] Fix captcha retrying (diff) | |
download | pyload-1293f4c3aaf0744b98fcd538bd2ddb8cb1d1733c.tar.xz |
[XFSHoster] Handle videoplayer
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/XFSHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index 57357c06e..24d06d993 100644 --- a/module/plugins/internal/XFSHoster.py +++ b/module/plugins/internal/XFSHoster.py @@ -13,7 +13,7 @@ from module.utils import html_unescape class XFSHoster(SimpleHoster): __name__ = "XFSHoster" __type__ = "hoster" - __version__ = "0.50" + __version__ = "0.51" __pattern__ = r'^unmatchable$' @@ -75,7 +75,7 @@ class XFSHoster(SimpleHoster): self.COOKIES.insert((self.HOSTER_DOMAIN, "lang", "english")) if not self.LINK_PATTERN: - pattern = r'(https?://(?:www\.)?([^/]*?%s|\d+\.\d+\.\d+\.\d+)(\:\d+)?(/d/|(/files)?/\d+/\w+/).+?)["\'<]' + pattern = r'(?:file: "(.+?)"|(https?://(?:www\.)?([^/]*?%s|\d+\.\d+\.\d+\.\d+)(\:\d+)?(/d/|(/files)?/\d+/\w+/).+?)["\'<])' self.LINK_PATTERN = pattern % self.HOSTER_DOMAIN.replace('.', '\.') super(XFSHoster, self).prepare() |