summaryrefslogtreecommitdiff
path: root/sbhs_server/load_homepage.py
diff options
context:
space:
mode:
authorttt2017-05-13 00:29:47 +0530
committerttt2017-05-13 00:29:47 +0530
commit4336f5f06f61de30ae3fa54650fce63a9d5ef5be (patch)
tree23b4ee9b8e8f24bf732acf2f7ad22ed50cdd5670 /sbhs_server/load_homepage.py
downloadSBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.gz
SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.bz2
SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.zip
added all server files
Diffstat (limited to 'sbhs_server/load_homepage.py')
-rw-r--r--sbhs_server/load_homepage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sbhs_server/load_homepage.py b/sbhs_server/load_homepage.py
new file mode 100644
index 0000000..7a3113d
--- /dev/null
+++ b/sbhs_server/load_homepage.py
@@ -0,0 +1,5 @@
+import urllib2
+
+proxy_handler = urllib2.ProxyHandler({})
+opener = urllib2.build_opener(proxy_handler)
+page = opener.open('http://vlabs.iitb.ac.in/sbhs/', timeout=20)