mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
31 lines
1.5 KiB
Python
31 lines
1.5 KiB
Python
#!/usr/bin/env python
|
|
# vim:fileencoding=utf-8
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class Bellingcat(BasicNewsRecipe):
|
|
title = 'Bellingcat'
|
|
__author__ = 'bugmen00t'
|
|
description = 'Bellingcat est un groupe international ind\u00E9pendant de chercheurs, d\u0027enqu\u00EAteurs et de journalistes citoyens utilisant \u00E0 la fois: enqu\u00EAtes \u0027open source\u0027 et r\u00E9seaux sociaux, pour sonder une vari\u00E9t\u00E9 de sujets - trafiquants de drogue mexicains, crimes contre l\u0027humanit\u00E9, suivi de l\u0027utilisation d\u0027armes chimiques et conflits dans le monde entier. Nous op\u00E9rons dans un domaine unique dans lequel technologie de pointe, recherche m\u00E9dico-l\u00E9gale, journalisme, enqu\u00EAtes, transparence et responsabilit\u00E9 se rencontrent.' # noqa: E501
|
|
publisher = 'Stichting Bellingcat'
|
|
category = 'blog'
|
|
cover_url = u'https://www.bellingcat.com/app/uploads/2018/04/bellingcat_HP_logo_black.jpg'
|
|
language = 'fr'
|
|
no_stylesheets = False
|
|
remove_javascript = False
|
|
auto_cleanup = False
|
|
oldest_article = 300
|
|
max_articles_per_feed = 10
|
|
|
|
remove_tags_before = dict(name='div', attrs={'class': 'container'})
|
|
|
|
remove_tags_after = dict(name='div', attrs={'class': 'container'})
|
|
|
|
remove_tags = [
|
|
dict(name='div', attrs={'class': 'social social--share'}),
|
|
dict(name='div', attrs={'class': 'singular__related'})
|
|
]
|
|
|
|
feeds = [('Bellingcat', 'https://fr.bellingcat.com/feed/')]
|