mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
20cabde561
commit
b292148d86
@ -1,5 +1,6 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
class En_Globes_Recipe(BasicNewsRecipe):
|
class En_Globes_Recipe(BasicNewsRecipe):
|
||||||
description = 'This is en.globes.co.il.'
|
description = 'This is en.globes.co.il.'
|
||||||
cover_url = 'https://www.globes.co.il/images/GlobesEN-144x40.gif'
|
cover_url = 'https://www.globes.co.il/images/GlobesEN-144x40.gif'
|
||||||
@ -31,4 +32,4 @@ class En_Globes_Recipe(BasicNewsRecipe):
|
|||||||
(u"Telecommunications", u"https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1386"),
|
(u"Telecommunications", u"https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1386"),
|
||||||
(u"Information technology", u"https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1376"),
|
(u"Information technology", u"https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1376"),
|
||||||
(u"Transport and infrastructure", u"https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1388"),
|
(u"Transport and infrastructure", u"https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1388"),
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
class AdvancedUserRecipe1283848012(BasicNewsRecipe):
|
class AdvancedUserRecipe1283848012(BasicNewsRecipe):
|
||||||
description = 'This is Globes.co.il.'
|
description = 'This is Globes.co.il.'
|
||||||
cover_url = 'https://images.globes.co.il/globes/logo-138-35-2.svg?ver=1'
|
cover_url = 'https://images.globes.co.il/globes/logo-138-35-2.svg?ver=1'
|
||||||
|
@ -9,7 +9,7 @@ class AdvancedUserRecipe1283848012(BasicNewsRecipe):
|
|||||||
title = u'Walla'
|
title = u'Walla'
|
||||||
language = 'he'
|
language = 'he'
|
||||||
__author__ = 'marbs & barakplasma'
|
__author__ = 'marbs & barakplasma'
|
||||||
extra_css = 'body{direction: rtl;},title{direction: rtl; } ,article_description{direction: rtl; }, a.article{direction: rtl; } ,calibre_feed_description{direction: rtl; }'
|
extra_css = 'body{direction: rtl;},title{direction: rtl; } ,article_description{direction: rtl; }, a.article{direction: rtl; } ,calibre_feed_description{direction: rtl; }' # noqa
|
||||||
simultaneous_downloads = 5
|
simultaneous_downloads = 5
|
||||||
timefmt = '[%d/%m/%y %H:%M]'
|
timefmt = '[%d/%m/%y %H:%M]'
|
||||||
oldest_article = 1
|
oldest_article = 1
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
# vim:fileencoding=utf-8
|
# vim:fileencoding=utf-8
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
class WorksInProgress(BasicNewsRecipe):
|
class WorksInProgress(BasicNewsRecipe):
|
||||||
title = 'Works in progress'
|
title = 'Works in progress'
|
||||||
description = 'Works in Progress is an online magazine dedicated to sharing new and underrated ideas to improve the world, and features original writing from some of the most interesting thinkers in the world'
|
description = 'Works in Progress is an online magazine dedicated to sharing new and underrated ideas to improve the world, and features original writing from some of the most interesting thinkers in the world' # noqa
|
||||||
cover_url = "https://www.worksinprogress.co/wp-content/uploads/2020/03/logo-1.svg"
|
cover_url = "https://www.worksinprogress.co/wp-content/uploads/2020/03/logo-1.svg"
|
||||||
oldest_article = 7
|
oldest_article = 7
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
@ -34,4 +35,4 @@ class WorksInProgress(BasicNewsRecipe):
|
|||||||
|
|
||||||
feeds.append((section_title, section_items))
|
feeds.append((section_title, section_items))
|
||||||
|
|
||||||
return feeds
|
return feeds
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
import mechanize
|
|
||||||
|
|
||||||
|
|
||||||
class AdvancedUserRecipe1283848012(BasicNewsRecipe):
|
class AdvancedUserRecipe1283848012(BasicNewsRecipe):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user