项目
在 GitHub 查看
unconv/gpt4v-browsing
关于
使用 GPT-4 Vision API 和 Puppeteer 进行网页抓取
数据与分析实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GPT4 Vision Web Crawling
This is a GPT4 Vision API and Puppeteer powered tool that can answer questions based on website screenshots. You ask it a question and it will browse to a website and take a screenshot. Then it will use GPT4 Vision API to answer the question based on the screenshot.
JavaScript version
The JavaScript version (vision_crawl.js) is able to not only open a URL directly, but it can also click on links on pages.
$ npm install
$ node vision_crawl.js
Python version
The Python version (vision_crawl.py) is the original version, that only opens one URL at a time directly. The Python version uses JavaScript too, for the Puppeteer part.
$ npm install
$ pip install -r requirements.txt
$ python3 vision_crawl.py
Examples
You can ask stuff like this, for example:
- "What is the weather like in California?"
- "What are the latest news in the world?"
- "What is the current stock price of Tesla?"
- "How many subscribers does Unconventional Coding have on YouTube?"
探索相关项目
加载中…