A Python script to fetch pnr status. An attempt to bypass captcha on http://www.indianrail.gov.in/pnr_Enq.html
- sudo pip install requests (http://docs.python-requests.org/en/latest/)
- sudo pip install beautifulsoup (http://www.crummy.com/software/BeautifulSoup/)
usage --
python fetch_pnr_status.py <PNR no.>
$python fetch_pnr_status.py 4416052206
[u'*12735', u'YPR GARIB RATH', u'21- 1-2016', u'SC', u'YPR', u'YPR', u'SC', u'3A', u'Passenger 1', u'G12 , 73,SS', u'CNF', u'CHART NOT PREPARED']