📚 Web Scraper Bookmarklet

One-click scraping from any webpage

📥 Installation

Drag this link to your bookmarks bar:

Scraper
Installation Steps:
  1. Show bookmarks bar: Press Ctrl+Shift+B (Windows) or Cmd+Shift+B (Mac)
  2. Drag the button: Click and drag the "Scraper" button above to your bookmarks bar
  3. Done! The bookmarklet is now installed
⚠️ Alternative Installation (if dragging doesn't work):
  1. Right-click on your bookmarks bar → Add new bookmark
  2. Name: Scraper
  3. URL: Copy the code from the gray box below

Bookmarklet Code (copy this if drag doesn't work):

🚀 How to Use

1️⃣Navigate to Target Page

Go to the webpage you want to scrape (e.g., a blog article, novel chapter, documentation page)

2️⃣Click the Bookmarklet

Click the "Scraper" bookmark in your bookmarks bar. A scraper panel will appear on the page.

3️⃣Configure Selectors

The bookmarklet will show a form with smart defaults:

  • Content Selector: Where to extract text from
  • Title Selector: How to find the page title
  • Next Link Selector: How to find the "next page" button (optional)
  • Max Pages: How many pages to follow

4️⃣Start Scraping

Click "🚀 Start" and watch it work! The scraper will:

  • Extract content from the current page
  • Find and click the "next" link
  • Repeat until max pages or no more pages
  • Download everything as a single .txt file

🔬 Advanced Tips

Finding the Right Selectors:

  1. Right-click on the content you want → "Inspect Element"
  2. Look at the HTML element's class or id
  3. Use #id for IDs (e.g., #content)
  4. Use .class for classes (e.g., .article-body)
  5. Use element names directly (e.g., article, main)

Testing Selectors in Console:

  1. Press F12 to open Developer Console
  2. Type: document.querySelector('YOUR_SELECTOR')
  3. If it returns an element, your selector is correct!
  4. Use querySelectorAll to see all matches