简体   繁体   中英

Python can't open image with indirect url

I use python to download image, if url is direct to image that I can download them, but if it is indirect, only black image is opened, what can I do next?

Success downloaded

https://secure-api.userlocal.jp/ipcamera/posts/files/16/41/502241_2017022116205643436_830aaf54751.jpg

Failed download

http://ipcamera-viewer.com/image/?p=199619_20170221_162149_7208.jpg

使用save_screenshot或get_screenshot_as_base64()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM