Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/firmadyne/scraper

Firmware scraper
https://github.com/firmadyne/scraper

Last synced: 30 days ago
JSON representation

Firmware scraper

Awesome Lists containing this project

README

        

Introduction
============

This is a firmware scraper that aims to download firmware images and associated
metadata from supported device vendor websites.

Dependencies
============
* [psycopg2](http://initd.org/psycopg/)
* [scrapy](http://scrapy.org/)

Usage
=====

1. Configure the `firmware/settings.py` file. Comment out `SQL_SERVER` if metadata about
downloaded firmware should not be inserted into a SQL server.

2. To run a specific scraper, e.g. `dlink`:

`scrapy crawl dlink`

To run all scrapers with maximum 4 in parallel, using [GNU Parallel](https://www.gnu.org/software/parallel/):

```parallel -j 4 scrapy crawl ::: `for i in ./firmware/spiders/*.py; do basename ${i%.*}; done` ```