diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-04 23:42:46 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-04 23:42:46 +0100 |
commit | f74309f89923317eeaaca31d74dff10590ed3d40 (patch) | |
tree | 9958a3ed001d54238b9fb8efcbd4516384b596fe /module/plugins/hoster/FilerioCom.py | |
parent | Fix missing urlparse import (diff) | |
download | pyload-f74309f89923317eeaaca31d74dff10590ed3d40.tar.xz |
[XFSHoster] Use URL_REPLACEMENTS to clean url
Diffstat (limited to 'module/plugins/hoster/FilerioCom.py')
-rw-r--r-- | module/plugins/hoster/FilerioCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilerioCom.py b/module/plugins/hoster/FilerioCom.py index a7a160cc5..52906fc67 100644 --- a/module/plugins/hoster/FilerioCom.py +++ b/module/plugins/hoster/FilerioCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo class FilerioCom(XFSHoster): __name__ = "FilerioCom" __type__ = "hoster" - __version__ = "0.05" + __version__ = "0.06" __pattern__ = r'http://(?:www\.)?(filerio\.(in|com)|filekeen\.com)/\w{12}' @@ -18,7 +18,7 @@ class FilerioCom(XFSHoster): HOSTER_DOMAIN = "filerio.in" OFFLINE_PATTERN = r'>"File Not Found|File has been removed' - URL_REPLACEMENTS = [(r'http://.*?/', 'http://filerio.in/')] + URL_REPLACEMENTS = [(r'/(?:embed-)?(\w{12}).*', r'/\1'), (r'filekeen\.com', "filerio.in")] getInfo = create_getInfo(FilerioCom) |