calibre/recipes/oba.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

27 lines
956 B
Python

#!/usr/bin/env python
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1510778177(BasicNewsRecipe):
title = '\u041e\u0412\u0414-\u0418\u043d\u0444\u043e'
__author__ = 'bugmen00t'
description = 'Независимый правозащитный медиа-проект, посвященный политическим преследованиям в России.'
publisher = 'Ovdinfo.Org'
category = 'news'
cover_url = u'https://ovdinfo.org/sites/all/themes/ovdinfo/img/logo-ovdinfo.png'
language = 'ru'
no_stylesheets = True
remove_javascript = True
auto_cleanup = True
feeds = [
(
'\u041d\u043e\u0432\u043e\u0441\u0442\u0438',
'https://ovdinfo.org/rss.xml'
),
]
remove_tags = [dict(name='a', attrs={'class': 'overtitle'})]