diff options
| author | 2014-11-15 01:59:37 +0100 | |
|---|---|---|
| committer | 2014-11-15 06:24:10 +0100 | |
| commit | 4ae0b09c4784f718be39125253e326827bd45686 (patch) | |
| tree | fac218826da82d5fbe173f64a910461bb5774727 | |
| parent | [Plugin] Fix wait routine 2 (diff) | |
| download | pyload-4ae0b09c4784f718be39125253e326827bd45686.tar.xz | |
[LinkCryptWs] Fix typo
| -rw-r--r-- | module/plugins/crypter/LinkCryptWs.py | 8 | 
1 files changed, 3 insertions, 5 deletions
| diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py index 67b1a3f02..b90e18490 100644 --- a/module/plugins/crypter/LinkCryptWs.py +++ b/module/plugins/crypter/LinkCryptWs.py @@ -15,7 +15,7 @@ from module.utils import html_unescape  class LinkCryptWs(Crypter):      __name__    = "LinkCryptWs"      __type__    = "crypter" -    __version__ = "0.04" +    __version__ = "0.05"      __pattern__ = r'http://(?:www\.)?linkcrypt\.ws/(dir|container)/(?P<ID>\w+)' @@ -38,7 +38,7 @@ class LinkCryptWs(Crypter):          self.preferred_sources = ['cnl', 'web', 'dlc', 'rsdf', 'ccf', ] #['cnl', 'rsdf', 'ccf', 'dlc', 'web'] -    def prepare(): +    def prepare(self):          # Init          self.package = pyfile.package()          self.fileid = re.match(self.__pattern__, pyfile.url).group('ID') @@ -46,7 +46,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) @@ -96,8 +96,6 @@ class LinkCryptWs(Crypter):                      package_found = True                  break -        package_links = set(package_links) -          # Pack          if package_links:              self.packages = [(package_name, package_links, folder_name)] | 
