| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 4 |
|
| 5 |
|
| 6 |
class AdvancedUserRecipe1283848012(BasicNewsRecipe): |
| 7 |
description = 'The WallaNews.' |
| 8 |
cover_url = 'https://images.wcdn.co.il//2/5/4/2/2542044-46.jpg' |
| 9 |
title = 'Walla' |
| 10 |
language = 'he' |
| 11 |
__author__ = 'marbs & barakplasma' |
| 12 |
extra_css = 'body{direction: rtl;},title{direction: rtl; } ,article_description{direction: rtl; }, a.article{direction: rtl; } ,calibre_feed_description{direction: rtl; }' # noqa: E501 |
| 13 |
simultaneous_downloads = 5 |
| 14 |
timefmt = '[%d/%m/%y %H:%M]' |
| 15 |
oldest_article = 1 |
| 16 |
max_articles_per_feed = 100 |
| 17 |
keep_only_tags = [ |
| 18 |
dict(name='h1', attrs={'class': 'title'}), |
| 19 |
dict(name='p', attrs={'class': 'subtitle'}), |
| 20 |
dict(name='p', attrs={'class': 'article_speakable'}), |
| 21 |
] |
| 22 |
|
| 23 |
feeds = [ |
| 24 |
('חדשות', 'https://rss.walla.co.il/feed/1?type=main'), |
| 25 |
('ספורט', 'https://rss.walla.co.il/feed/3?type=main'), |
| 26 |
('כסף', 'https://rss.walla.co.il/feed/2?type=main'), |
| 27 |
('רכב', 'https://rss.walla.co.il/feed/31?type=main'), |
| 28 |
('תרבות', 'https://rss.walla.co.il/feed/4?type=main'), |
| 29 |
('סלבס', 'https://rss.walla.co.il/feed/22?type=main'), |
| 30 |
('אופנה', 'https://rss.walla.co.il/feed/24?type=main'), |
| 31 |
('אוכל', 'https://rss.walla.co.il/feed/9?type=main'), |
| 32 |
('בריאות', 'https://rss.walla.co.il/feed/139?type=main'), |
| 33 |
('תיירות', 'https://rss.walla.co.il/feed/14?type=main'), |
| 34 |
('TECH', 'https://rss.walla.co.il/feed/6?type=main'), |
| 35 |
('כיף', 'https://rss.walla.co.il/feed/13?type=main'), |
| 36 |
('בית ועיצוב', 'https://rss.walla.co.il/feed/35?type=main'), |
| 37 |
('יהדות', 'https://rss.walla.co.il/feed/138?type=main'), |
| 38 |
('מקומי', 'https://rss.walla.co.il/feed/430?type=main'), |
| 39 |
] |