Skip to content

ocampor/medium-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medium Scraper

Description

This code contains a scrapper that given tags stores the top articles related.

Language

Python 3

Requirements

  1. Install python dependencies with pip install -r requirements.txt.
  2. Install PhantomJS with npm -g install phantomjs-prebuilt.
  3. Install Mongo.

How to run

  1. Run mongo sudo mongod
  2. Create a .env file. You can use .env.example
  3. Set a list of initial tags seeds = ['python', 'machine learning'].
  4. Create an instance of Spider with your initial seeds Spider(seeds).

About

This code contains a scrapper that given tags stores the top articles related.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages