Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
irctcbot
import httplib #how browsers login to irctc def login_irctc(username,password): params = urllib.urlencode({'screen': 'home', 'userName': username, 'password': password}) headers = {'screen': 'home', 'userName': username, 'password': password} conn = httplib.HTTPSConnection('www.irctc.co.in') conn.request('POST','/cgi-bin/bv60.dll/irctc/services/login.do',params,headers) login_irctc(gosain009,gsm345)
run
|
edit
|
history
|
help
0
Python2, list comprehension, join, split, zip
Looking at the /etc folder... :)
Rectangle Area
on_off_3
Counter() in collections
Lambda
Problem: binary
rString__1
PySetUnpack
problem on/off