summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/OneFichierCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/OneFichierCom.py')
-rw-r--r--pyload/plugin/account/OneFichierCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/account/OneFichierCom.py b/pyload/plugin/account/OneFichierCom.py
index fbe5ed022..531f5f735 100644
--- a/pyload/plugin/account/OneFichierCom.py
+++ b/pyload/plugin/account/OneFichierCom.py
@@ -1,10 +1,9 @@
# -*- coding: utf-8 -*-
+import pycurl
import re
import time
-from pycurl import REFERER
-
from pyload.plugin.Account import Account
@@ -45,7 +44,7 @@ class OneFichierCom(Account):
def login(self, user, data, req):
- req.http.c.setopt(REFERER, "https://1fichier.com/login.pl?lg=en")
+ req.http.c.setopt(pycurl.REFERER, "https://1fichier.com/login.pl?lg=en")
html = req.load("https://1fichier.com/login.pl?lg=en",
post={'mail' : user,