summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilefactoryCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FilefactoryCom.py')
-rw-r--r--module/plugins/hoster/FilefactoryCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/hoster/FilefactoryCom.py b/module/plugins/hoster/FilefactoryCom.py
index 873fb548e..0125d442e 100644
--- a/module/plugins/hoster/FilefactoryCom.py
+++ b/module/plugins/hoster/FilefactoryCom.py
@@ -50,9 +50,9 @@ class FilefactoryCom(Plugin):
def download_html(self):
url = self.parent.url
- self.html = self.req.load(url, cookies=True)
+ self.html = self.load(url, cookies=True)
tempurl = re.search('a href=\"(.*?)\".*?button\.basic\.jpg', self.html).group(1)
- self.htmlwithlink = self.req.load("http://www.filefactory.com"+tempurl, cookies=True)
+ self.htmlwithlink = self.load("http://www.filefactory.com"+tempurl, cookies=True)
def get_file_url(self):
""" returns the absolute downloadable filepath
@@ -97,6 +97,5 @@ class FilefactoryCom(Plugin):
return True
def proceed(self, url, location):
-
- self.req.download(url, location, cookies=True)
+ self.download(url, location, cookies=True)