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/activateClone the repository and jump into it.
$ git clone https://github.com/pastpages/drudge-domain-analysis.git repo
$ cd repoInstall the requirements.
$ pip install -r requirements.txtDownload the archived screenshots from PastPages.
$ python download.pyExtract the hyperlinks from each one.
$ python extract.pyAnalyze the hyperlinks and spit out the results.
$ python analyze.py