Read Sean Hannity Show on your iPad or Kindle in no time. Click download to load the free ebook on your reader.

Check out all the available public recipes or write your own with these quick start guides. ReadBeam is built on calibre, so everything in the docs and the fora applies here as well.

Download for free »

Articles from Sean Hannity's website, www.hannity.com

Language: en

Requires Subscription: No, it's available as free ebook

Schedule Every morning

			  #!/usr/bin/env  python

from calibre.web.feeds.recipes import BasicNewsRecipe

class SeanHannity(BasicNewsRecipe):
    cover_url             = 'http://www.hannity.com/images/misc_logo.gif'
    title          		    = u"Sean Hannity Show"
    __author__ 	          = 'Rob Lammert - rob.lammert[at]gmail.com'
    description		        = u"Articles from Sean Hannity's website, www.hannity.com"
    oldest_article        = 7.0
    language = 'en'
    max_articles_per_feed = 100
    recursions            = 0
    encoding              = 'utf8'
    no_stylesheets        = True
    remove_javascript     = True
    #use_embedded_content  = False

    remove_tags    = [
      dict(name='div', attrs={'id':['header','navsprite','topminibarad','headline_bar','shadow','footer']}),
      dict(name='div', attrs={'class':'rightcolumn'}),
      dict(name='table', attrs={'id':'audiobox'}),
      dict(name='a', attrs={'title':['Home','Shows','Guests','Photos']}),
      dict(name='iframe')
    ]

    feeds          = [
	     ('Content Feed', u'http://feeds.feedburner.com/TheSeanHannityShow-AllContent?format=xml')
    ]



  #def print_version(self, url):
    #parts=url.split('/')
    #return url.replace(url, 'http://www.hannity.com/show/' + parts[4] + '/' + parts[5] + '/' + parts[6] + '?mode=print')