Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 698 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 698 Bytes

url2feed

Extract feed url from url.

Usage

From source:

>>> from url2feed import extract
>>> print extract('www.metalhammer.co.uk')
{
    'link': 'http://www.metalhammer.co.uk',
    'url': 'http://feeds.feedburner.com/metalhammer/main',
    'title': 'Metal Hammer',
}

From command line:

$ url2feed www.metalhammer.co.uk
> www.metalhammer.co.uk
   webpage  : http://www.metalhammer.co.uk
   feedurl  : http://feeds.feedburner.com/metalhammer/main
   feedtitle: Metal Hammer

githalytics.com alpha