Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

storysniffer

Inspect a URL and estimate if it links to news story

Build Status PyPI version Coverage Status

Getting started

Install the package from the Python Package Index.

$ pip install storysniffer

The guess method offers a hard yes or no estimate. But keep in mind that this package is still embryonic and don't take its answer too seriously.

>>> import storysniffer
>>> storysniffer.guess("http://www.washingtonpost.com/investigations/us-intelligence-mining-data-from-nine-us-internet-companies-in-broad-secret-program/2013/06/06/3a0c0da8-cebf-11e2-8845-d970ccb04497_story.html")
True
>>> storysniffer.guess("http://www.washingtonpost.com/")
False
>>> storysniffer.guess("https://twitter.com/bartongellman")
False

Credits

This is a joint project of PastPages.org, The Reynolds Journalism Institute and the University of Missouri.

About

Inspect a URL and estimate if it links to news story

Resources

License

Releases

No releases published

Packages

No packages published

Languages