This code contains a scrapper that given tags stores the top articles related.
Python 3
- Install python dependencies with
pip install -r requirements.txt. - Install PhantomJS with
npm -g install phantomjs-prebuilt. - Install Mongo.
- Run mongo
sudo mongod - Create a
.envfile. You can use.env.example - Set a list of initial tags
seeds = ['python', 'machine learning']. - Create an instance of
Spiderwith your initial seedsSpider(seeds).