| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
|
| 4 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 5 |
|
| 6 |
|
| 7 |
class Arbetaren_SE(BasicNewsRecipe): |
| 8 |
title = 'Arbetaren' |
| 9 |
__author__ = 'Jonatan Nyberg' |
| 10 |
description = 'Nyheter fr\xe5n Arbetaren' |
| 11 |
publisher = 'Arbetaren' |
| 12 |
category = 'news, politics, socialism, Sweden' |
| 13 |
oldest_article = 7 |
| 14 |
delay = 1 |
| 15 |
max_articles_per_feed = 100 |
| 16 |
no_stylesheets = True |
| 17 |
use_embedded_content = False |
| 18 |
encoding = 'utf-8' |
| 19 |
language = 'sv' |
| 20 |
auto_cleanup = True |
| 21 |
auto_cleanup_keep = '//div[@class="thumbnail"]|//div[@id="article-image"]|//span[@class="important"]' |
| 22 |
|
| 23 |
feeds = [('Nyheter', 'https://www.arbetaren.se/feed')] |