summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/FilefactoryCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/FilefactoryCom.py')
-rw-r--r--pyload/plugin/account/FilefactoryCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/account/FilefactoryCom.py b/pyload/plugin/account/FilefactoryCom.py
index 71a040b65..5c80c6e1c 100644
--- a/pyload/plugin/account/FilefactoryCom.py
+++ b/pyload/plugin/account/FilefactoryCom.py
@@ -1,10 +1,9 @@
# -*- coding: utf-8 -*-
+import pycurl
import re
import time
-from pycurl import REFERER
-
from pyload.plugin.Account import Account
@@ -38,7 +37,7 @@ class FilefactoryCom(Account):
def login(self, user, data, req):
- req.http.c.setopt(REFERER, "http://www.filefactory.com/member/login.php")
+ req.http.c.setopt(pycurl.REFERER, "http://www.filefactory.com/member/login.php")
html = req.load("http://www.filefactory.com/member/signin.php",
post={"loginEmail" : user,