calibre/recipes/inquirer_net.recipe
Kovid Goyal 29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30

39 lines
871 B
Python

#!/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