summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DlProtectCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
commit6c75c0363f496df86e9c744a9a946f86f82715fa (patch)
tree53e5b7f906e2b9fb1d853d2b0599be7a8c5c7a3d /module/plugins/crypter/DlProtectCom.py
parentTimeout for http request set to 1 minute + report effective url address in he... (diff)
downloadpyload-6c75c0363f496df86e9c744a9a946f86f82715fa.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/DlProtectCom.py')
-rw-r--r--module/plugins/crypter/DlProtectCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/DlProtectCom.py b/module/plugins/crypter/DlProtectCom.py
index e09dc9e2e..7c44566eb 100644
--- a/module/plugins/crypter/DlProtectCom.py
+++ b/module/plugins/crypter/DlProtectCom.py
@@ -82,7 +82,7 @@ class DlProtectCom(SimpleCrypter):
def get_links(self):
#: Direct link with redirect
- if not re.match(r"https?://(?:www\.)?dl-protect\.com/.+", self.req.http.lastEffectiveURL):
+ if not re.match(r'https?://(?:www\.)?dl-protect\.com/.+', self.req.http.lastEffectiveURL):
return [self.req.http.lastEffectiveURL]
post_req = {'key' : re.search(r'name="key" value="(.+?)"', self.data).group(1),