summaryrefslogtreecommitdiffstats
path: root/module/network/Browser.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:23:19 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:23:19 +0200
commit0aca8ebfb15237e60effce06ccff2085516117f6 (patch)
treee3f28471f4f682f333d5f1b0725ec6572b9cb1bc /module/network/Browser.py
parentMove test stuff to common directory (diff)
downloadpyload-0aca8ebfb15237e60effce06ccff2085516117f6.tar.xz
Remove self-tests from all files
Diffstat (limited to 'module/network/Browser.py')
-rw-r--r--module/network/Browser.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py
index 3146d7f71..e78d24688 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -130,15 +130,3 @@ class Browser(object):
del self.dl
if hasattr(self, "cj"):
del self.cj
-
-if __name__ == "__main__":
- browser = Browser()#proxies={"socks5": "localhost:5000"})
- ip = "http://www.whatismyip.com/automation/n09230945.asp"
- #browser.getPage("http://google.com/search?q=bar")
- #browser.getPage("https://encrypted.google.com/")
- #print browser.getPage(ip)
- #print browser.getRedirectLocation("http://google.com/")
- #browser.getPage("https://encrypted.google.com/")
- #browser.getPage("http://google.com/search?q=bar")
-
- browser.httpDownload("http://speedtest.netcologne.de/test_10mb.bin", "test_10mb.bin")