calibre/recipes/bellingcat_en.recipe
un-pogaz 7e1edf1fbf add scoped noqa 'line too long' (auto-fix)
ruff 'E501' --add-noqa
2025-01-24 11:14:10 +01:00

31 lines
1.4 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class Bellingcat(BasicNewsRecipe):
title = 'Bellingcat'
__author__ = 'bugmen00t'
description = 'Bellingcat is an independent international collective of researchers, investigators and citizen journalists using open source and social media investigation to probe a variety of subjects from Mexican drug lords and crimes against humanity, to tracking the use of chemical weapons and conflicts worldwide. With staff and contributors in more than 20 countries around the world, we operate in a unique field where advanced technology, forensic research, journalism, investigations, transparency and accountability come together.' # noqa: E501
publisher = 'Stichting Bellingcat'
category = 'blog'
cover_url = u'https://www.bellingcat.com/app/uploads/2018/04/bellingcat_HP_logo_black.jpg'
language = 'en'
no_stylesheets = False
remove_javascript = False
auto_cleanup = False
oldest_article = 60
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://www.bellingcat.com/feed/')]