summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DlProtectCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/DlProtectCom.py')
-rw-r--r--module/plugins/crypter/DlProtectCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/crypter/DlProtectCom.py b/module/plugins/crypter/DlProtectCom.py
index a3b24a1d6..10993d729 100644
--- a/module/plugins/crypter/DlProtectCom.py
+++ b/module/plugins/crypter/DlProtectCom.py
@@ -69,7 +69,8 @@ class DlProtectCom(SimpleCrypter):
if errmsg in self.data:
self.fail(_(errmsg[1:]))
- return re.findall(r'<a href="([^/].+?)" target="_blank">', self.data)
+ # Filters interesting urls from ads
+ return re.findall(r'<a href="(?P<id>[^/].+?)" target="_blank">(?P=id)</a>', self.data)
getInfo = create_getInfo(DlProtectCom)