Programmatically extract owner info from Indian registration numbers
$ python registration_info.py MH02CL 0555
Registration No:
MH02CL0555
Registration Date:
20-Jan-2012
Chasi No:
WBAKB42080CY83879
Engine No:
16257849
Owner Name:
SHAH RUKH KHAN
Vehicle Class:
LMVIMP
Fuel Type:
PETROL
Maker Model:
BMW INDIA PVT. LTD., BMW 740 L I PETROL
requests
beautifulsoup4
tried running the revised code but still getting some error help me out.
error:
Traceback (most recent call last):
File "owner.py", line 14, in
viewstate = soup.select('input[name="javax.faces.ViewState"]')[0]['value']
IndexError: list index out of range