Skip to content

Ethically scrape and back up public listings from any Poshmark closet using Node.js and Puppeteer. Perfect for recovering lost listings, saving product photos, and creating CSV exports.

License

Notifications You must be signed in to change notification settings

coffee-and-fun/poshmark_scrapper

Repository files navigation

🧼 Poshmark Scraper Backup Tool

A friendly, ethical tool built with Puppeteer and Node.js to scrape public listings from a Poshmark closet and back them up locally. Perfect for store owners who want to:

  • Recover lost listings
  • Back up product photos and descriptions
  • Export their store into folders and a .csv file

🚀 Features

  • Scrolls through an entire Poshmark closet (no matter the size)
  • Clicks and scrapes each listing (title, price, description, URL)
  • Downloads all listing photos
  • Saves each listing to its own folder
  • Creates a master listings.csv with image paths and details

✅ Why It’s Ethical

This tool only scrapes public content and simulates human like browsing speed. It does not log in, does not spam, and is designed to help you back up your own closet or help a friend who lost access.


🧰 What You’ll Need

  • Node.js installed
  • Basic terminal or command line access
  • A public Poshmark URL (e.g. https://poshmark.com/closet/yourusername)

📦 Installation

git clone https://github.com/your-username/poshmark-scraper-backup-tool.git
cd poshmark-scraper-backup-tool
npm install

🏃 How to Run It

Update the username in the script (poshmark_scraper.js) here:

await page.goto('https://poshmark.com/closet/YOUR_USERNAME_HERE', { waitUntil: 'networkidle2' });

Then run:

node poshmark_scraper.js

📁 Output Structure

After running the script, you’ll get:

/poshmark_listings/
  ├── Red Nike Sneakers/
  │   ├── Red Nike Sneakers.txt
  │   ├── 1.jpg
  │   ├── 2.jpg
  ...
listings.csv

✨ Credits

Built with ☕️ and code by The Coffee and Fun Team

Copyright (c) 2025 Coffee and Fun LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Ethically scrape and back up public listings from any Poshmark closet using Node.js and Puppeteer. Perfect for recovering lost listings, saving product photos, and creating CSV exports.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published