summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/MegaRapidCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/MegaRapidCz.py')
-rw-r--r--pyload/plugin/hoster/MegaRapidCz.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/MegaRapidCz.py b/pyload/plugin/hoster/MegaRapidCz.py
index e8aa1106f..d7ed78202 100644
--- a/pyload/plugin/hoster/MegaRapidCz.py
+++ b/pyload/plugin/hoster/MegaRapidCz.py
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
+import pycurl
import re
-from pycurl import HTTPHEADER
-
from pyload.network.HTTPRequest import BadHeader
from pyload.network.RequestFactory import getRequest
from pyload.plugin.internal.SimpleHoster import SimpleHoster, parseFileInfo
@@ -11,7 +10,7 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster, parseFileInfo
def getInfo(urls):
h = getRequest()
- h.c.setopt(HTTPHEADER,
+ h.c.setopt(pycurl.HTTPHEADER,
["Accept: text/html",
"User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0"])