抓圖片:
原文:https://ithelp.ithome.com.tw/articles/10202897
import requests pic = requests.get('https://scontent.ftpe8-1.fna.fbcdn.net/v/t1.0-9/15622464_1212199435542212_6278640739585850553_n.jpg?_nc_cat=109&_nc_sid=dd9801&_nc_ohc=APeVgIN4ZusAX8ta9Px&_nc_ht=scontent.ftpe8-1.fna&oh=510a146429b92f822eb6a600d04e05aa&oe=5F9EED0A') img5 = pic.content pic_out = open('img5.png','wb') pic_out.write(img5) pic_out.close()
之後要找自己建好的圖片檔
可以從自己檔案的資料夾內尋找
文章標籤
全站熱搜
留言列表