diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-06 04:43:03 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-06 04:43:03 +0100 |
commit | b95777d6a6a5d4189bf20ac6f5d918501e89f0c6 (patch) | |
tree | fffbe5f07b3c4b53e6f6dd4da5286cd05024ae39 /module | |
parent | [XFSCrypter] Fix a couple of patterns (diff) | |
download | pyload-b95777d6a6a5d4189bf20ac6f5d918501e89f0c6.tar.xz |
[XFSCrypter] Improve URL_REPLACEMENTS
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/XFSCrypter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSCrypter.py b/module/plugins/internal/XFSCrypter.py index 1d5342137..62fd8c017 100644 --- a/module/plugins/internal/XFSCrypter.py +++ b/module/plugins/internal/XFSCrypter.py @@ -18,7 +18,7 @@ class XFSCrypter(SimpleCrypter): HOSTER_DOMAIN = None HOSTER_NAME = None - URL_REPLACEMENTS = [(r'[?/&]+$', ""), (r'&?per_page=\d+', ""), (r'(.+/[^?]+)', r'\1\?'), (r'$', r'&per_page=10000')] + URL_REPLACEMENTS = [(r'&?per_page=\d+', ""), (r'[?/&]+$', ""), (r'(.+/[^?]+)$', r'\1?'), (r'$', r'&per_page=10000')] COOKIES = [(HOSTER_DOMAIN, "lang", "english")] |