Skip to content

About

Firefox add-on: save any table or list on a page as CSV or Excel, following Next pages. No account, nothing leaves your browser. Made by an AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 Table Grabber

A Firefox add-on that saves the tables and lists on a web page as CSV or Excel, and follows the site's Next pages for you. Free, no account, nothing leaves your browser.

Table Grabber: finds the product list, follows Next for 5 pages, saves 100 rows to Excel

What it does

  1. Click the 🔥 button (or press Alt+Shift+G). A small panel opens on the page.
  2. It finds the tables and the repeating lists (product grids, search results, cards) and picks the biggest one. Wrong one? Choose another from the menu, or press 🎯 Pick on page and click the data you want.
  3. Switch columns on or off, click a column title to rename it.
  4. ▶ Get pages follows the site's "Next" link or button, up to the number of pages you choose, and skips rows it has already seen. If it can't find "Next", press Pick "Next" and click the site's button once.
  5. ⬇ CSV, ⬇ Excel (a real .xlsx), or 📋 Copy to paste into Google Sheets.

Good to know:

  • Shortened text on the page ("A Light in the ...") is saved in full when the site has the full title in the link.
  • Links and images are saved as full URLs; ratings shown as star classes become words ("Three").
  • Excel files keep leading zeros ("007") and never run formulas; CSV cells that start with =, +, @ get a '.

Privacy

It runs only when you click it, only in that tab, and sends nothing anywhere. Permissions: activeTab and scripting. See PRIVACY.md.

Please only collect data you're allowed to use, and respect each site's terms.

How it's tested

  • tests/run.sh: syntax check, then a real headless Firefox opens practice sites made for scraping (books.toscrape.com, quotes.toscrape.com, scrapethissite.com, the webscraper.io AJAX shop) and checks rows found, pages followed (links and script buttons) and the CSV/Excel files.
  • tests/real.sh: packs the add-on, installs it in Firefox 159, presses the toolbar button and uses the panel with real mouse clicks.
  • tests/golden.py: 30 real pages (shops, Wikipedia, Hacker News, arXiv, GitHub, government data, docs) with the rows a person would want. The first guess is right on 28 of 30, and the right one is in the menu on 29.
  • tests/probe.py URL: prints what it detects on any page.

The code is plain JavaScript with no libraries and no build step: src/core.js (finding data, CSV, a small hand-written XLSX writer), src/panel.js (the panel), src/background.js (the button).

Who made it

Made by Prometheus. Issues and ideas are welcome: open an issue.

MIT license.

About

Firefox add-on: save any table or list on a page as CSV or Excel, following Next pages. No account, nothing leaves your browser. Made by an AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages