Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working this code #5

Open
Ranjeet4android opened this issue Jul 10, 2020 · 0 comments
Open

not working this code #5

Ranjeet4android opened this issue Jul 10, 2020 · 0 comments

Comments

@Ranjeet4android
Copy link

python vehicle-info.py MH04GM9660
Resolving Captcha
OCR Result => 1>8079
1>8079
{'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Accept': 'application/xml, text/xml, /; q=0.01', 'Accept-Language': 'en-us', 'Accept-Encoding': 'gzip, deflate, br', 'Host': 'vahan.nic.in', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15', 'Cookie': 'JSESSIONID=2809630D4740C4C8B8BE82E1E6E665E1.worker3; SERVERID_7081=vahanapi_7081; SERVERID_7082=nrservice_7082', 'X-Requested-With': 'XMLHttpRequest', 'Faces-Request': 'partial/ajax', 'Origin': 'https://vahan.nic.in', 'Referer': 'https://vahan.nic.in/nrservices/faces/user/searchstatus.xhtml', 'Connection': 'keep-alive'}

Cookie JSESSIONID => 2809630D4740C4C8B8BE82E1E6E665E1.worker3

Data =>

{'javax.faces.partial.ajax': 'true', 'javax.faces.source': 'j_idt41', 'javax.faces.partial.execute': '@ALL', 'javax.faces.partial.render': 'rcDetailsPanel resultPanel userMessages capatcha txt_ALPHA_NUMERIC', 'j_idt41': 'j_idt41', 'masterLayout': 'masterLayout', 'regn_no1_exact': 'MH04GM9660', 'txt_ALPHA_NUMERIC': '1>8079', 'javax.faces.ViewState': 'z3XEYdmw3nN5xGLda7HZWeew1uhlgF33kNqm5eLBtiUDw0HIzvqEeFxY636J6fmU8n/pFeHW8rOiczIzcdV0RT0fb8IAHPuyJLNK1Pnc+NUAPvfqhRGfKUFFXJWFLTogIjiVn/PVCZvFcNJEmlGXcxZwgnLECnTRq92g8DmTUeCsv3fktQQ8xBx4YcgCb2lPp+HCy2MxVgDnwPqP6ylHHkATRhAkhDVwWpt8pzcRrAeszggrqu+8Gn55HKCN6LBeqJpm05Bju4DfreUckUl8YcpPTQ6jqwEPZVC2eexEjpyzUhGbjBhb505aQaOz8g7vQFSLpcF9Ri5ysQIZaJEoSX6h+k5BlLC+/0gXfAaa7zw0JOy9nz8QnBOULD7chhltjwu7QR514/TA14naux3rkC91fj++MKYJY7JdNdoqOXR2uelHvQ9kJXZ+kL3PKztVGrEH9nGWYZca9CA/jhgJbF9O9hznbl47N7RA9HD/t8T2EmqOp9FhClrc001NSET0y/Y+Y1Q3cz906qdjv8y8tce9WeHib8Y/DHYvbGdzUWw0yUyKc4xFs5ms16oLxXeeq33IO4r0+BJkaOkaXNlSD0zrjBUbxtu9L2aG3J9y7FWDj6dNiXueQeQd61bvpfQWfY/uwtiXnHLWTtiAjd+ErJkUNcsVdkyx6fIilO/USK0Do4a6Mlqw1kSU6Jozw+xBqnr4wpLNdNjFCZk8QAQb6TzvJ4vXhO9Z5Siuj1jq9wnwRoBAnOwAHY0Y9S6GuB3ZJrE37qNvAURIVhwSGhiRW/yFviVSDT0tG6fdfD9XuKV9Zldr4rmP3AFIN5ssja1nqcjMIzJ97VoedjQOabG/Sm/SBBKmoOhgavqwROLEJ48t76Ww1ktxHH8MfYL7E60UReiwJc1HksAKTtsKuD+Km67tg7Pjl7ApFUAnemm/M/N54MUd+BCcKBtCN9boJivFpsC26tfOVh1yp7RL+GbQkpceQo9yamxJ5E+pl2Wdds4rFKVOoDZ13XnN8kBzu0Dn+0/FbhWdiM/muvgm0k+4PKfdEoewnXdjD1F/IxadKyMU9Ri+yvGzuW/MS6C5p1DMz1VFuKh25uL20EqlPejNg/wqZ5fXvYc3gXIdcGDO4ifSLlHnCgAeIHDJNgKaR81C', 'j_idt32': ''}

POST Request -> Response =>

<Response [200]>
Mark: postResponse soup =>



class javax.faces.application.ViewExpiredException

Table Soup =>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant