From 4d978dedd16418a4e7d8c81bd819a6a5fa432057 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:26:05 +0200 Subject: Use pyfile instead self.pyfile Merges vuolter/pyload@b7f6e2e --- module/plugins/crypter/FilefactoryComFolder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/FilefactoryComFolder.py') diff --git a/module/plugins/crypter/FilefactoryComFolder.py b/module/plugins/crypter/FilefactoryComFolder.py index dce14cf04..07842c898 100644 --- a/module/plugins/crypter/FilefactoryComFolder.py +++ b/module/plugins/crypter/FilefactoryComFolder.py @@ -19,7 +19,7 @@ class FilefactoryComFolder(Crypter): NEXT_PAGE_PATTERN = r'
  • .*?
  • \s*
  • ' def decrypt(self, pyfile): - url_base = re.match(self.__pattern__, self.pyfile.url).group(1) + url_base = re.match(self.__pattern__, pyfile.url).group(1) html = self.load(url_base) new_links = [] @@ -40,6 +40,6 @@ class FilefactoryComFolder(Crypter): self.logInfo("Limit of 99 pages reached, aborting") if new_links: - self.core.files.addLinks(new_links, self.pyfile.package().id) + self.core.files.addLinks(new_links, pyfile.package().id) else: self.fail('Could not extract any links') -- cgit v1.2.3