Skip to content

Commit 864b07a

Browse files
author
Danny Sauer
committed
comment out proxy
1 parent 2a1822f commit 864b07a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

misc/recurse.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ def recurse(url):
5050
recurse(link)
5151

5252
if __name__ == '__main__':
53-
url = 'http://www.google.com/'
54-
url = 'http://www.suse.com/'
53+
#url = 'http://www.google.com/'
54+
#url = 'http://www.suse.com/'
5555
url = 'http://www.redhat.com/'
5656
site = urlparse(url).netloc
57-
#http = httplib2.Http()
58-
proxy = httplib2.proxy_info_from_url('http://squid:3128')
59-
http = httplib2.Http(proxy_info=proxy)
57+
http = httplib2.Http()
58+
#proxy = httplib2.proxy_info_from_url('http://squid:3128')
59+
#http = httplib2.Http(proxy_info=proxy)
6060
browser = webbrowser.get();
6161
robots = robotparser.RobotFileParser(urljoin(url, '/robots.txt'))
6262
robots.read()

0 commit comments

Comments
 (0)