| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class En_Globes_Recipe(BasicNewsRecipe): |
| 5 |
description = 'This is en.globes.co.il.' |
| 6 |
cover_url = 'https://www.globes.co.il/images/GlobesEN-144x40.gif' |
| 7 |
title = 'Globes in English' |
| 8 |
language = 'en' |
| 9 |
__author__ = 'barakplasma' |
| 10 |
extra_css = 'img {max-width:100%;}' |
| 11 |
simultaneous_downloads = 5 |
| 12 |
remove_javascript = True |
| 13 |
keep_only_tags = [ |
| 14 |
dict(name='h1', attrs={'id': 'F_Title'}), |
| 15 |
dict(name='h2', attrs={'id': 'coteret_SubCoteret'}), |
| 16 |
dict(name='p', attrs={'id': None}), |
| 17 |
] |
| 18 |
max_articles_per_feed = 100 |
| 19 |
|
| 20 |
feeds = [ |
| 21 |
('Main Headlines', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederNode?iID=942'), |
| 22 |
('Israeli stocks on Wall Street', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1392'), |
| 23 |
('All news', 'https://www.globes.co.il/webservice/rss/rssfeeder.asmx/FeederNode?iID=1725'), |
| 24 |
('Macro economics', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1389'), |
| 25 |
('Aerospace and defense', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1380'), |
| 26 |
('Real estate', 'https://www.globes.co.il/webservice/rss/rssfeeder.asmx/FeederKeyword?iID=1385'), |
| 27 |
('Energy and water', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1382'), |
| 28 |
('Start-ups and venture capital', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1397'), |
| 29 |
('Financial services', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1383'), |
| 30 |
('Tel Aviv markets', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1404'), |
| 31 |
('Healthcare', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1377'), |
| 32 |
('Telecommunications', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1386'), |
| 33 |
('Information technology', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1376'), |
| 34 |
('Transport and infrastructure', 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1388'), |
| 35 |
] |