Skip to content
master
Go to file
Code
This branch is 18 commits ahead of luciano-fiandesio:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

readme.md

Hacker News to JSON

Save 'saved stories' from a Hacker News account to a simple JSON format.

The script parses the saved stories page on HN (http://news.ycombinator.com) and, for each link on each page of the saved stories history it outputs an entry to a JSON document with information taken from the Hacker News API. (https://github.com/HackerNews/API)

The script is meant to be launched from the command line.

Originally developed on iPad by Luciano Fiandesio with the awesome Pythonista (http://omz-software.com/pythonista/) and modified for JSON output by John David Pressman.

How to use

python hn2json.py [hn user] [hn password] -n [Number of pages to grab] -f [JSON filename]

About

Save 'Saved Stories' on HN to simple JSON format.

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.