summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 01:24:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 01:24:17 +0200
commit7b095378cba22aa2cfadfd62699d77bf1724da41 (patch)
tree9a239a32804e869784f9d7d0001543a0c2f74a99
parent[SimpleHoster] Fallback option (diff)
downloadpyload-7b095378cba22aa2cfadfd62699d77bf1724da41.tar.xz
[XFSCrypter] Fix LINK_PATTERN (thx GammaC0de)
-rw-r--r--module/plugins/internal/XFSCrypter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/XFSCrypter.py b/module/plugins/internal/XFSCrypter.py
index c4809ec46..80eff53ea 100644
--- a/module/plugins/internal/XFSCrypter.py
+++ b/module/plugins/internal/XFSCrypter.py
@@ -6,7 +6,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
class XFSCrypter(SimpleCrypter):
__name__ = "XFSCrypter"
__type__ = "crypter"
- __version__ = "0.08"
+ __version__ = "0.09"
__pattern__ = r'^unmatchable$'
@@ -19,7 +19,7 @@ class XFSCrypter(SimpleCrypter):
URL_REPLACEMENTS = [(r'&?per_page=\d+', ""), (r'[?/&]+$', ""), (r'(.+/[^?]+)$', r'\1?'), (r'$', r'&per_page=10000')]
- LINK_PATTERN = r'<a href="(.+?)".*?>.+?(?:</a>)?\s*(<.+>\s*)?</(?:td|TD)>'
+ LINK_PATTERN = r'<(?:td|TD).*?>\s*(?:<.+>\s*)?<a href="(.+?)".*?>.+?(?:</a>)?\s*(?:<.+>\s*)?</(?:td|TD)>'
NAME_PATTERN = r'<[Tt]itle>.*?\: (?P<N>.+) folder</[Tt]itle>'
OFFLINE_PATTERN = r'>\s*\w+ (Not Found|file (was|has been) removed)'