mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
340b91cc9c
commit
3e713d2ea8
@ -10,9 +10,10 @@ import time
|
|||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from urllib.parse import quote, urlencode, urlparse
|
from urllib.parse import quote, urlencode, urlparse
|
||||||
|
|
||||||
|
from mechanize import Request
|
||||||
|
|
||||||
from calibre import browser
|
from calibre import browser
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
from mechanize import Request
|
|
||||||
|
|
||||||
|
|
||||||
def resize(x):
|
def resize(x):
|
||||||
|
@ -2,10 +2,15 @@
|
|||||||
# vim:fileencoding=utf-8
|
# vim:fileencoding=utf-8
|
||||||
from calibre.web.feeds.news import AutomaticNewsRecipe
|
from calibre.web.feeds.news import AutomaticNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
class ReflexCzRecipe(AutomaticNewsRecipe):
|
class ReflexCzRecipe(AutomaticNewsRecipe):
|
||||||
__author__ = 'Mailo'
|
__author__ = 'Mailo'
|
||||||
title = 'Reflex'
|
title = 'Reflex'
|
||||||
description = 'Reflex.cz je každodenní kritický průvodce aktuálním domácím i světovým děním. Názorový a autorský online magazín kultovního společenského týdeníku Reflex inteligentnímu čtenáři nabízí komentáře, glosy a originální články od vyhlášených autorů J.X. Doležala, Milana Tesaře, Bohumila Pečinky nebo Marka Stoniše. Za poplatek je na stránkách dostupný také unikátní archiv tištěného Reflexu, včetně aktuálního čísla.'
|
description = (
|
||||||
|
'Reflex.cz je každodenní kritický průvodce aktuálním domácím i světovým děním.'
|
||||||
|
' Názorový a autorský online magazín kultovního společenského týdeníku Reflex inteligentnímu čtenáři nabízí komentáře,'
|
||||||
|
' glosy a originální články od vyhlášených autorů J.X. Doležala, Milana Tesaře, Bohumila Pečinky nebo Marka Stoniše.'
|
||||||
|
' Za poplatek je na stránkách dostupný také unikátní archiv tištěného Reflexu, včetně aktuálního čísla.')
|
||||||
oldest_article = 10
|
oldest_article = 10
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
auto_cleanup = True
|
auto_cleanup = True
|
||||||
@ -16,4 +21,3 @@ class ReflexCzRecipe(AutomaticNewsRecipe):
|
|||||||
|
|
||||||
language = 'cs'
|
language = 'cs'
|
||||||
cover_url = 'https://1958898586.rsc.cdn77.org/dist/assets/reflex/logo-reflex.svg'
|
cover_url = 'https://1958898586.rsc.cdn77.org/dist/assets/reflex/logo-reflex.svg'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user