2025-05-28 00:52:07 -04:00
2025-05-27 23:54:20 -04:00
2025-05-28 00:52:07 -04:00
2025-05-28 00:52:07 -04:00
2025-05-27 23:54:20 -04:00
2025-05-28 00:52:07 -04:00
2025-05-28 00:52:07 -04:00
2025-05-28 00:52:07 -04:00
2025-05-28 00:52:07 -04:00

Greasemonkey scripts

Ebay Scraper (Storage)

A truly awful very LLM generated scraping tool used to help me find good deals on ebay for Storage. Again, this is LLM generated, basically vibe coded, so the code quality has virtually zero oversight. The generation of this was done using Gemini 2.5 Pro, see the first and second conversations used to generate this.

Example

greasemonkey on  master is 📦 v1.0.0 via ⬢ v23.11.1 at ☸  default took 7s 593ms 
➜ yarn --silent scrape --help
Usage: ebay-scraper [options] [command] [url]

Scrapes eBay search results for SSD/HDD cost per TB.

Arguments:
  url                The full eBay search URL to scrape.

Options:
  -V, --version      output the version number
  --save <filename>  Save the scraped HTML to a file.
  --load <filename>  Load HTML from a file instead of fetching from eBay (disables network).
  --only_json        Suppress all informational logs and output only the final JSON. (default: false)
  -h, --help         display help for command

Commands:
  latest [options]   Scrapes the latest listings using a predefined search. Use "ebay-scraper latest --help" to see specific options for this
                     command.

Example calls:
  $ ebay-scraper latest --per_page 120 --minimum_cost 50
  $ ebay-scraper latest --help
  $ ebay-scraper "https://www.ebay.com/sch/i.html?_nkw=ssd"
  $ ebay-scraper --load saved_page.html --only_json | jq .
  $ ebay-scraper --save current_page.html "https://www.ebay.com/sch/i.html?_nkw=hdd"
greasemonkey on  master is 📦 v1.0.0 via ⬢ v23.11.1 at ☸  default 
➜ yarn --silent scrape latest --help
Usage: ebay-scraper latest [options]

Scrapes the latest listings using a predefined search. Use "ebay-scraper latest --help" to see specific options for this command.

Options:
  --per_page <number>      Items per page (60, 120, or 240) (default: "60")
  --minimum_cost <number>  Minimum cost for listings (e.g., 50.00) (default: "0.00")
  -h, --help               display help for command
Description
No description provided
Readme 634 KiB
Languages
JavaScript 62.5%
Rust 37.5%