#!/usr/bin/env python

__license__ = 'GPL v3'
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
'''
www.inquirer.net
'''

from calibre.web.feeds.recipes import BasicNewsRecipe


class InquirerNet(BasicNewsRecipe):
    title = 'Inquirer.net'
    __author__ = 'Krittika Goyal'
    description = 'News from Philipines'
    oldest_article = 2
    max_articles_per_feed = 100
    no_stylesheets = True
    use_embedded_content = False
    encoding = 'utf8'
    publisher = 'inquirer.net'
    category = 'news, politics, philipines'
    lang = 'en'
    language = 'en'

    use_embedded_content = False

    no_stylesheets = True
    auto_cleanup = True

    feeds = [
        (u'Inquirer', u'http://www.inquirer.net/fullfeed')
    ]

    def get_browser(self):
        br = BasicNewsRecipe.get_browser(self)
        br.set_handle_gzip(True)
        return br
