Skip to content

qiezi168/HNScrapy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HNScrapy

Hacker News Crawler based upon Scrapy which crawls the entire site and stores the links in the Database.

Steps to Install

  1. Git clone the repository into your local system.

  2. Install Scrapy via pip.

     $ pip install scrapy
    
  3. Configure Database settings in settings.py

  4. Run the crawler by this command.

     $ scrapy crawl hn
    

Extras

Output the data in JSON format by this command

scrapy crawl hn -o items.json -t json

Dependencies

  1. BeautifulSoup
  2. Lxml
  3. OpenSSL

Tutorial

Read the tutorial for detailed explanations.

About

Hacker News Crawler based upon Scrapy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published