oschrenk/legends

★ 0Forks 0GoGitHub ↗Compare

README

🤖 Code by Claude Code

Scrape legends.gt

Scrape product listings from Legends Game Store.

Installation

nix

nix profile install github:oschrenk/legends

Prebuilt binaries come from the oschrenk Cachix cache, which the flake offers as a substituter.

From source

task install

Commands

legends scrape

Fetch new arrivals and print them as a table.

$ legends scrape
NAME                                    PRICE       STATUS
7 Wonders: Architects: Medals           Q 225.00    in stock
Charterstone                            Q 775.00    in stock
Pagan                                   Q 400.00    out of stock
...

Pass --with-url to include the product URL:

$ legends scrape --with-url
NAME                                    PRICE       STATUS        URL
7 Wonders: Architects: Medals           Q 225.00    in stock      https://www.legendsgt.com/product-page/7-wonders-architects-medals
...

Pass --json for machine-readable output:

$ legends scrape --json
[
  {
    "name": "7 Wonders: Architects: Medals",
    "price": "Q 225.00",
    "url": "https://www.legendsgt.com/product-page/7-wonders-architects-medals",
    "in_stock": true
  },
  ...
]

legends version

Show build version info.

Contributors

oschrenk

Issues