开源项目
https://github.com/acheong08/BingImageCreator
获取cookie信息
cookieStore.get("_U").then(result => console.log(result.value))
pip3 install --upgrade BingImageCreator
import os
import BingImageCreator
os.environ["http_proxy"] = "http://127.0.0.1:1080"
os.environ["https_proxy"] = "http://127.0.0.1:1080"
Imq=BingImageCreator.ImageGen("1acLh0Dppcg-********", 'cookies.json')
q=Imq.get_images("Meerkats at a garden party in Devon")
print(q)
效果