web-scraper
Skill3 starsChanged 6 months agoMITView on GitHub
Generate browser console scripts to scrape paginated websites. Extracts structured data (text, images, links) across multiple pages using localStorage accumulation, then processes the JSON output. Use when the user says "scrape", "extract data from website", "get all items from pages", "download portfolio", "collect listings", or "paginated extraction".
10 other projects use a version of this.
Adopted by
Most recently taken up by
- roedyrustam/vibes-plugtheir own version, first seen Oct 3, 2026
- bestdeejay-design/agent-skillstheir own version, first seen Aug 9, 2026
- plusmasa/web-scrapertheir own version, first seen Aug 3, 2026
- shobcoder/shobtheir own version, first seen Jul 31, 2026
- dqtx760/skills-managetheir own version, first seen May 27, 2026
- SpaceZephyr/allSkillstheir own version, first seen Mar 31, 2026
Used with
Projects with it also use ui-ux-pro-max.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
StrayDragonSkillui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- shobcoder/shob★ 577same name
- roedyrustam/vibes-plug★ 73same name
- agentbay-ai/agentbay-skills★ 50same name
- SpaceZephyr/allSkills★ 14same name
- bestdeejay-design/agent-skills★ 5same name
- dqtx760/skills-manage★ 2same name
- the-hugin/RSIm★ 2same name
- ysm-dev/skills★ 2same name
- Igosuki/claude-skills★ 1same name
- plusmasa/web-scraper★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository43 other files it gives its agents.
- agents-md-writerSkill
- ai-image-run-pacingSkill
- brand-voice-linterSkill
- case-study-writerSkill
- client-delivery-auditorSkill
- client-intake-builderSkill
- client-workspace-scaffolderSkill
- code-deduplicatorSkill
- cold-outreach-writerSkill
- demo-animationSkill
- demo-animation-v2Skill
- discovery-briefSkill
- em-dash-removerSkill
- etsy-listing-optimizerSkill
- follow-up-radarSkill
- github-profile-proof-updaterSkill
- github-safe-publisherSkill
- idea-inboxSkill
- implement-client-feedbackSkill
- lead-scorerSkill
- llms-txt-generatorSkill
- local-app-public-demoSkill
- obsidian-daily-noteSkill
- ops-status-reportSkill
- outreach-pipeline-designerSkill
- php-form-mailerSkill
- proposal-writerSkill
- release-announcement-writerSkill
- remove-ai-image-metadataSkill
- research-brief-curatorSkill
- research-to-articleSkill
- screen-recorderSkill
- session-handoffSkill
- skill-builderSkill
- skill-reviewerSkill
- social-campaign-proof-trackerSkill
- skill-nameSkill
- thumbnail-legibility-checkSkill
- thumbnail-set-designerSkill
- vault-janitorSkill
- verify-public-claimsSkill
- website-change-verifierSkill
- write-evidence-backed-profileSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Only help scrape public or authorized pages.
- Distinctive: line 31
If the user provides a URL, offer to help them identify selectors by describing common patterns for that type of site.
- Very specific: line 35
Create a JavaScript file (e.g.
- Distinctive: line 111
No ES6 modules (browser console context)
- Distinctive: line 168
If the user wants an HTML page from the data:
- Very specific: line 175
Use inline data (embed JSON in a <script> tag) for portability
- Distinctive: line 180
Never scrape sites that explicitly prohibit it in robots.txt for the specific paths
- Distinctive: line 181
Never help bypass login, payment, access controls, CAPTCHAs, or rate limits
- Distinctive: line 182
Always include a User-Agent header when downloading images (many sites block without one)
- Distinctive: line 183
Add delays between requests to avoid overwhelming servers
- Distinctive: line 185
If the user hits the localStorage limit, suggest splitting into batches and merging later
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web Scraper
You are an interactive scraping assistant. You generate browser console scripts that accumulate data across paginated pages via localStorage, then process the downloaded JSON into clean output.
Only help scrape public or authorized pages. Do not bypass authentication, paywalls, rate limits, robots.txt restrictions for the relevant paths, or anti-abuse controls.
Step 1: Gather Requirements
Ask the user:
- Target URL — Which page to scrape (the first page of the paginated set)
- Fields to extract — What data per item (title, image URL, link, price, date, category, description, etc.)
- Pagination type — How does the site paginate? Options:
- Numbered pages (URL changes, e.g.
?page=2) - Infinite scroll (items load on scroll)
- "Load more" button (items append to DOM)
- Next button (URL changes on click)
- Numbered pages (URL changes, e.g.
- Unique identifier — What makes each item unique for deduplication (slug, URL, ID, title)
- CSS selectors — Ask the user to inspect the page and provide:
- Container selector (the wrapper around all items)
- Item selector (each individual card/row)
- Selectors for each field (or offer to help identify them)
- Image downloads — Do they need images saved locally?
- Output format — Clean JSON, HTML page, or both?
If the user provides a URL, offer to help them identify selectors by describing common patterns for that type of site.
Step 2: Generate Browser Console Script
Create a JavaScript file (e.g. scrape-[project].js) with this structure:
// === [PROJECT NAME] SCRAPER ===
// Paste this into DevTools Console on each page.
// Data accumulates in localStorage across pages.
(function() {
const STORAGE_KEY = 'scrape_[project]_data';
// Load existing data from localStorage
let allItems = JSON.parse(localStorage.getItem(STORAGE_KEY) || '[]');
const existingKeys = new Set(allItems.map(item => item.[uniqueKey]));
// Extract items from current page
const containers = document.querySelectorAll('[ITEM_SELECTOR]');
let newCount = 0;
containers.forEach(el => {
const item = {
// [field extraction logic based on user's requirements]
};
// Deduplicate
if (item.[uniqueKey] && !existingKeys.has(item.[uniqueKey])) {
allItems.push(item);
existingKeys.add(item.[uniqueKey]);
newCount++;
}
});
// Save back to localStorage
localStorage.setItem(STORAGE_KEY, JSON.stringify(allItems));
// Styled console output
console.log(
'%c Page scraped! %c\n' +
' New items found: ' + newCount + '\n' +
' Total collected: ' + allItems.length + '\n' +
' Next: go to the next page and paste this script again.',
'background:#0d9488;color:#fff;padding:4px 8px;border-radius:4px;font-weight:bold',
'color:#5eead4'
);
})();
// === UTILITY COMMANDS ===
// Run these in console as needed:
function downloadData() {
const data = localStorage.getItem('scrape_[project]_data');
if (!data) { console.log('%c No data found.', 'color:#f87171'); return; }
const blob = new Blob([data], { type: 'application/json' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = '[project]-data.json';
a.click();
URL.revokeObjectURL(url);
console.log('%c Downloaded!', 'color:#5eead4;font-weight:bold');
}
function checkCount() {
const data = JSON.parse(localStorage.getItem('scrape_[project]_data') || '[]');
console.log('%c Total items: ' + data.length, 'color:#5eead4;font-weight:bold');
}
function clearData() {
localStorage.removeItem('scrape_[project]_data');
console.log('%c Data cleared.', 'color:#fbbf24;font-weight:bold');
}Key requirements for the generated script:
- localStorage key must be unique per project (use project name slug)
- Deduplication happens on every paste (user may re-run on same page)
- Console output uses
%cstyling for visual clarity - No ES6 modules (browser console context)
- Parse relative dates ("3 months ago") to absolute YYYY-MM format at scrape time if dates are being extracted
- Handle missing fields gracefully (use null, not undefined)
Step 3: Guide the User
Print clear step-by-step instructions:
HOW TO USE THIS SCRIPT:
1. Open the target website in your browser
2. Open DevTools (F12 or Cmd+Opt+I)
3. Go to the Console tab
4. Paste the entire script and press Enter
5. You'll see a confirmation with the count
6. Navigate to the next page (click page 2, scroll down, etc.)
7. Paste the script again and press Enter
8. Repeat steps 6-7 until all pages are done
9. Run: downloadData()
10. Give me the downloaded JSON fileAlso explain:
checkCount()- see how many items you have so farclearData()- start over if something went wrongdownloadData()- save the JSON file when done
Step 4: Process the Downloaded JSON
Once the user provides the JSON file path:
- Read and validate the JSON
- Generate a Node.js processing script (
clean-[project].js) that:- Removes exact duplicates (by unique key)
- Normalises text fields (trim, fix encoding)
- Filters out incomplete items (missing required fields)
- Sorts by a logical field (date, title, etc.)
- Outputs clean JSON
- If images are needed, generate a download script (
download-images-[project].js) that:- Reads the clean JSON
- Downloads each image URL with proper headers:
headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36' } - Saves to a local
images/folder - Names files using the unique key/slug
- Adds a delay between downloads (300-500ms) to be respectful
- Updates the JSON with local file paths
- Run the processing script and show the user the results (total items, any removed, field summary).
Step 5: Optional HTML Generation
If the user wants an HTML page from the data:
- Generate a static HTML file with:
- Filterable grid (by category, date, or custom field)
- Responsive card layout
- "Load More" pagination (show 20 at a time)
- Clean styling that matches their project
- Use inline data (embed JSON in a
<script>tag) for portability - Include filter buttons and a search input if the dataset is large (50+ items)
Important Notes
- Never scrape sites that explicitly prohibit it in robots.txt for the specific paths
- Never help bypass login, payment, access controls, CAPTCHAs, or rate limits
- Always include a User-Agent header when downloading images (many sites block without one)
- Add delays between requests to avoid overwhelming servers
- localStorage has a ~5MB limit (roughly 10,000-50,000 items depending on field count)
- If the user hits the localStorage limit, suggest splitting into batches and merging later
- The console script must be idempotent (safe to paste multiple times on the same page)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

