I have built a resume parsing code in Python 3.7 but i want to read a .docx or .doc resume file directly from the URL link(e.g. http://13.234.163.240/storage/userData/phpjsK4iJ.docx) without downloading it to my local system.

1 Answers

0
Smart Pointer On

How about Requests?

import requests
from io import BytesIO

r = requests.get('http://your.link/storage/file.docx')
fh = BytesIO(r.content)

your_resume_parser.parse_resume(fh)

More about Requests: https://2.python-requests.org/en/master/user/quickstart/