Mercari Seller Listing Scraper Script to CSV
Budget: $15 – $25 USD
I need a lightweight Node.js utility that logs in to my Mercari seller account, loops through every active listing, and saves the data to CSV.
Core workflow
• Read username / password from a simple JSON or .env configuration file or command-line prompts.
• Authenticate, then crawl my “Selling” pages, automatically following “next” links and continuing until there are no more listings.
• For each item collect exactly four fields: Item ID, Title, Description, and Price.
• Write or append the results to a CSV whose filename follows MercariListingScrap yyyy-mm-dd hh-mm-ss.csv. Include the header row on first write.
Deliverables
1. A single runnable JavaScript file (Node ≥ 14) that performs the entire flow. Would prefer Node.js or other script that I can edit with a txt editor. Can be an python EXE script if you show me how to edit it.
2. A brief README covering: required npm install commands, where to place credentials, and the one-line command to run the script.
Tech notes & constraints
• Keep dependencies lean—axios, cheerio, puppeteer, csv-writer or similar mainstream packages are all acceptable.
• Script should exit cleanly and report any failed page fetches or login issues.
• Code must be commented clearly enough for me to tweak selectors or add fields later.
If you’ve built scrapers before, this should be easy, straightforward, and quick. I’m mainly looking for clean, maintainable code I can drop into a folder, npm install, and run.
Core workflow
• Read username / password from a simple JSON or .env configuration file or command-line prompts.
• Authenticate, then crawl my “Selling” pages, automatically following “next” links and continuing until there are no more listings.
• For each item collect exactly four fields: Item ID, Title, Description, and Price.
• Write or append the results to a CSV whose filename follows MercariListingScrap yyyy-mm-dd hh-mm-ss.csv. Include the header row on first write.
Deliverables
1. A single runnable JavaScript file (Node ≥ 14) that performs the entire flow. Would prefer Node.js or other script that I can edit with a txt editor. Can be an python EXE script if you show me how to edit it.
2. A brief README covering: required npm install commands, where to place credentials, and the one-line command to run the script.
Tech notes & constraints
• Keep dependencies lean—axios, cheerio, puppeteer, csv-writer or similar mainstream packages are all acceptable.
• Script should exit cleanly and report any failed page fetches or login issues.
• Code must be commented clearly enough for me to tweak selectors or add fields later.
If you’ve built scrapers before, this should be easy, straightforward, and quick. I’m mainly looking for clean, maintainable code I can drop into a folder, npm install, and run.
Related categories:
PHP
JavaScript
Python
Data Processing
Web Scraping
Node.js
JSON
Scripting
Data Extraction
API