Skip to content
プロジェクト

unconv/gpt4v-browsing

GitHubで見る

概要

GPT-4 Vision APIとPuppeteerを使ったWebスクレイピング

データ・分析

この数値の測り方

計測したスター増加

24時間
0
7日間
+1
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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?"

関連プロジェクトを探す

読み込み中…