mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
25 lines
834 B
Python
25 lines
834 B
Python
#!/usr/bin/env python
|
|
# vim:fileencoding=utf-8
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class Ara(BasicNewsRecipe):
|
|
title = 'Ara (diari)'
|
|
__author__ = 'santboia'
|
|
description = ('Ara.cat is an online Catalan-language newspaper edited in Barcelona.'
|
|
' It is ranked 2nd by unique monthly visitors among Catalan newspapers,'
|
|
' with over 2 million monthly visitors and ca. 12 million pagew visited as at March 2022.')
|
|
oldest_article = 2 # days
|
|
max_articles_per_feed = 30 # articles
|
|
auto_cleanup = True
|
|
language = 'ca'
|
|
encoding = 'utf-8'
|
|
use_embedded_content = False
|
|
no_stylesheets = True
|
|
remove_attributes = ['style', 'height', 'width']
|
|
ignore_duplicate_articles = {'url'}
|
|
|
|
feeds = [
|
|
('Ara', 'https://www.ara.cat/rss/'),
|
|
]
|