A simple example of using storytracker and the PastPages API to conduct a link analysis
Create a virtualenv and activate it.
$ virtualenv drudge-domain-analysis
$ cd drudge-domain-analysis
$ . bin/activate
Clone the repository and jump into it.
$ git clone https://github.com/pastpages/drudge-domain-analysis.git repo
$ cd repo
Install the requirements.
$ pip install -r requirements.txt
Download the archived screenshots from PastPages.
$ python download.py
Extract the hyperlinks from each one.
$ python extract.py
Analyze the hyperlinks and spit out the results.
$ python analyze.py