I am trying to a get a pdf online using something like requests
and convert it to a a string in Python. I don't want to end up with the pdf in my hard disk. instead I want to get a of online and work on it in terms of text/string in python3.
For example say you have a pdf file with the contents: I love programming.
url = 'xyzzy.org/g.pdf'
re = requests.get(url)
# do something to re and assign it to `pdf`
convert_to_string(pdf) -> "I love programming"