From b165402b0537b9d98281d9ce2adb83488f849d6f Mon Sep 17 00:00:00 2001 From: Roman Bazalevsky Date: Fri, 29 Nov 2013 18:04:43 +0400 Subject: [PATCH 1/1] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?utf8?q?=20=D0=BF=D0=BE=D1=80=D1=8F=D0=B4=D0=BE=D0=BA=20=D0=BE=D0=B1?= =?utf8?q?=D1=85=D0=BE=D0=B4=D0=B0=20=D0=B0=D0=BB=D0=B8=D0=B0=D1=81=D0=BE?= =?utf8?q?=D0=B2=20=D0=B8=D0=BC=D0=B5=D0=BD=D0=B8=20=D1=81=D0=B5=D1=80?= =?utf8?q?=D0=B2=D0=B5=D1=80=D0=B0,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?utf8?q?=D0=B5=D0=BD=D0=B0=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD?= =?utf8?q?=D0=BE=D1=81=D1=82=D1=8C=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?utf8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D1=80=D0=BE?= =?utf8?q?=D0=B8=D0=B7=D0=B2=D0=BE=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?utf8?q?=D0=BA=D0=BE=D0=BB=D0=B8=D1=87=D0=B5=D1=81=D1=82=D0=B2=D0=B0=20?= =?utf8?q?=D0=B0=D0=BB=D0=B8=D0=B0=D1=81=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- get_flibusta.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/get_flibusta.py b/get_flibusta.py index 654b5be..13768c4 100755 --- a/get_flibusta.py +++ b/get_flibusta.py @@ -7,19 +7,19 @@ import re import os pattern = re.compile("^f.fb2.*") -os.environ['http_proxy']='http://localhost:3128' +os.environ['http_proxy']='http://192.168.1.100:3128' os.environ['no_proxy']='localhost,127.0.0.1' proxies = {'http': 'http://localhost:3128'} -for host in ['flibusta.net','flibustahezeous3.onion','flibusta.i2p']: +for host in ['flibustahezeous3.onion','flibusta.i2p','flibusta.net']: try: print "Trying %s" % (host) html_page = urllib.urlopen("http://%s/daily/" % (host)) html = BeautifulSoup(html_page) - os_command = "wget -c -P \"%s\" http://%s/daily/%s" % (db.upload_files,host,'%s') + os_command = "wget -c -q -P \"%s\" http://%s/daily/%s" % (db.upload_files,host,'%s') print os_command matched = False -- 2.34.1