From cadd746ea1d7617b93c5e589b4a657db7b122409 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 2 May 2011 23:01:34 +0200 Subject: new file states (temp. offline, skipped) --- module/plugins/hoster/BitshareCom.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/BitshareCom.py') 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() -- cgit v1.2.3