Open redrossa opened 3 years ago
Do Post.download
or Post._download_photo
solve your problem?
There is an issue with post.download, see post . The header with the valid session ID that is created there should also be given to the requests.get statement inside Post.download, like this: resp = requests.get(url, stream=True, headers=headers)
Then the function will work without redirecting
Hello! I'd like to add a simple feature of loading an image given the URL like
load_image_file
. What do you think?