I have an image URL in the form of a shareable Google Drive link that I would like to access in my Python script. Below is what I have been trying:
from PIL import Image
import requests
img = Image.open(requests.get(URL).raw)
However I know this returns an HTTPResponse. I have already consulted this and this thread to no avail. How do I get rid of all the other content in the URL and just keep the image?