From dad722ac7255640e7e0541c4094a4d2e4de79cd3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 19 Jul 2015 00:05:58 +0200 Subject: Code cosmetics (2) --- module/plugins/crypter/LinkCryptWs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/plugins/crypter/LinkCryptWs.py') diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py index a5d4d7e59..4fe2384da 100644 --- a/module/plugins/crypter/LinkCryptWs.py +++ b/module/plugins/crypter/LinkCryptWs.py @@ -42,7 +42,7 @@ class LinkCryptWs(Crypter): self.req.cj.setCookie("linkcrypt.ws", "language", "en") #: Request package - self.req.http.c.setopt(pycurl.USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko") #: better chance to not get those key-captchas + self.req.http.c.setopt(pycurl.USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko") #: Better chance to not get those key-captchas self.html = self.load(self.pyfile.url) @@ -68,13 +68,13 @@ class LinkCryptWs(Crypter): self.unlock_password_protection() self.handle_errors() - #: get unrar password + #: Get unrar password self.getunrarpw() #: Get package name and folder package_name, folder_name = self.get_package_info() - # get the container definitions from script section + #: Get the container definitions from script section self.get_container_html() #: Extract package links @@ -234,7 +234,7 @@ class LinkCryptWs(Crypter): self.log_debug('Search for %s Container links' % type.upper()) - if not type.isalnum(): #: check to prevent broken re-pattern (cnl2, rsdf, ccf, dlc, web are all alpha-numeric) + if not type.isalnum(): #: Check to prevent broken re-pattern (cnl2, rsdf, ccf, dlc, web are all alpha-numeric) self.fail(_("Unknown container type: %s") % type) #@TODO: Replace with self.error in 0.4.10 for line in self.container_html: -- cgit v1.2.3