Skip to content

Scrapes an e-commerce site and pushes the product listings into an OpenBazaar store.

License

Notifications You must be signed in to change notification settings

SavvyBlockProject/obscrape

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obscrape

Example of how to scrape an e-commerce site for product items, then add those items to an OpenBazaar store.

This crawler will be specific to the e-commerce site.

This is published for educational purposes only. The crawler is filtered to pull only 30 items.

This is a one-way push to OpenBazaar. There is no synching. Running the obpush script a second time will cause duplicate listings.

Installation

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Usage

To scrape the data from the e-commerce site:

$ scrapy crawl lvr-crawler -o data/items.json

To add those items to the OpenBazaar store:

$ python obpush.py

About

Scrapes an e-commerce site and pushes the product listings into an OpenBazaar store.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%