diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-02 23:01:34 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-02 23:01:34 +0200 |
commit | cadd746ea1d7617b93c5e589b4a657db7b122409 (patch) | |
tree | fdf33aadcab0260bb3638c6f631dd60bc7fe1622 /module/plugins/hoster/BitshareCom.py | |
parent | NCryptIn: Fixed support for web links (diff) | |
download | pyload-cadd746ea1d7617b93c5e589b4a657db7b122409.tar.xz |
new file states (temp. offline, skipped)
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
-rw-r--r-- | module/plugins/hoster/BitshareCom.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index fa822493b..5be75a899 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -1,10 +1,11 @@ # -*- coding: utf-8 -*- from __future__ import with_statement +import re + from module.plugins.Hoster import Hoster from module.plugins.ReCaptcha import ReCaptcha - -import re +from module.network.RequestFactory import getRequest def getInfo(urls): @@ -13,7 +14,7 @@ def getInfo(urls): for url in urls: # Get file info html - req = pyreq.getRequest(BitshareCom.__name__) + req = getRequest() req.cj.setCookie(BitshareCom.HOSTER_DOMAIN, "language_selection", "EN") html = req.load(url) req.close() |