summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSCrypter.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-06 04:43:03 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-06 04:43:03 +0100
commitb95777d6a6a5d4189bf20ac6f5d918501e89f0c6 (patch)
treefffbe5f07b3c4b53e6f6dd4da5286cd05024ae39 /module/plugins/internal/XFSCrypter.py
parent[XFSCrypter] Fix a couple of patterns (diff)
downloadpyload-b95777d6a6a5d4189bf20ac6f5d918501e89f0c6.tar.xz
[XFSCrypter] Improve URL_REPLACEMENTS
Diffstat (limited to 'module/plugins/internal/XFSCrypter.py')
-rw-r--r--module/plugins/internal/XFSCrypter.py2
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")]