mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
30a0505eba
commit
97c0a11eda
@ -1,4 +1,5 @@
|
||||
from urllib.parse import quote
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe, classes
|
||||
|
||||
|
||||
@ -19,7 +20,7 @@ class eenadu_ts(BasicNewsRecipe):
|
||||
art_url = ''
|
||||
|
||||
extra_css = '''
|
||||
img {display:block; margin:0 auto;}
|
||||
img {display:block; margin:0 auto;}
|
||||
blockquote, em {color:#202020;}
|
||||
.pub-t{font-size:small; font-style:italic;}
|
||||
'''
|
||||
|
@ -1,4 +1,5 @@
|
||||
from urllib.parse import quote
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe, classes
|
||||
|
||||
|
||||
@ -19,7 +20,7 @@ class eenadu_ap(BasicNewsRecipe):
|
||||
art_url = ''
|
||||
|
||||
extra_css = '''
|
||||
img {display:block; margin:0 auto;}
|
||||
img {display:block; margin:0 auto;}
|
||||
blockquote, em {color:#202020;}
|
||||
.pub-t{font-size:small; font-style:italic;}
|
||||
'''
|
||||
|
@ -11,8 +11,6 @@ This recipe only get's article's published in text format
|
||||
images and pdf's are ignored
|
||||
"""
|
||||
|
||||
from urllib.parse import urljoin
|
||||
|
||||
from calibre import browser
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
from urllib.parse import quote
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe, classes
|
||||
|
||||
|
||||
@ -23,7 +24,7 @@ class ORF(BasicNewsRecipe):
|
||||
art_url = ''
|
||||
|
||||
extra_css = '''
|
||||
img {display:block; margin:0 auto;}
|
||||
img {display:block; margin:0 auto;}
|
||||
.report-slider, .author_panel {font-size:small; color:#404040;}
|
||||
.report {font-size:small; font-weight:bold;}
|
||||
.excert-italic, .recent-block-people {font-style:italic; color:#202020;}
|
||||
@ -69,9 +70,9 @@ class ORF(BasicNewsRecipe):
|
||||
|
||||
when = '170' # hours > 7 days
|
||||
index = 'https://www.orfonline.org'
|
||||
|
||||
|
||||
sections = [
|
||||
'expert-speak', 'books', 'event-reports', 'events', 'forums', 'gp-orf-series', 'issue-brief', 'monitors',
|
||||
'expert-speak', 'books', 'event-reports', 'events', 'forums', 'gp-orf-series', 'issue-brief', 'monitors',
|
||||
'occasional-paper', 'primer', 'series', 'surveys-polls', 'young-voices', 'research'
|
||||
]
|
||||
a = 'https://news.google.com/rss/search?q=when:{}h+allinurl:{}&hl=en-IN&gl=IN&ceid=IN:en'
|
||||
|
Loading…
x
Reference in New Issue
Block a user