Skip to content

Addono/bookbe-spider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Book.be Scraper

About

Collects book titles from book.be. See this example of a scrape getting the titles of all books released in 2019.

Installation

Create a virtual Python 3 environment.

virtualenv venv

Enable the environment.

source venv/bin/activate

Install all requirements.

pip install -r requirements.txt

Usage

Run the spider.

scrapy runspider spider.py

Or if you want to save the output gathered by the spider, e.g. as CSV:

scrapy runspider spider.py --output=res.csv -t csv

If you want to filter the collected titles, then change URL in spider.py to include the desired filters.

Releases

No releases published

Packages

No packages published

Languages