Python: Web scrape & download file solving captcha challenge -- 2

Job ID: 35580101

Budget: ₹600 – ₹1,500 INR

I need a python program that will do the following
1. send a request to get a web form from a web page
2. fill out the web form with hardcoded details (like document number, document Year, etc.,)
3. autofill the code solving the Captcha challenge
4. auto submit the form + retrieve the pdf file content

Technical requirement:
def download_document(city, document_no, document_year, document_type):
return pdf_file

Examples of captcha challenge images are attached.

More details of the project is available here -> https://docs.google.com/document/d/1DNt6TQtSEsdTm94tnveevvvRcAoinMXiNVA_CgAoL28
Related categories: Python Web Scraping Data Extraction