Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Latest commit

 

History

History
18 lines (12 loc) · 644 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 644 Bytes

scrapy-splash-demo

What does it do?

This is a demo project to show the use of Scrapy and Splash for infinite scroll. Specifically, it gets all accordion related tracks from the last week on SoundCloud.

Requirements

  • Docker
  • Docker Compose

Usage

Run:

docker-compose up

This will launch both Splash and the spider. The resulting scrapes will be stored in the scrapes folder and new items will be persisted to a SQLite database tracks.db.

Configuration

By default all items will be scraped. To specify a maximum number, copy the provided .env.example to .env and edit the TARGET_COUNT value within.