mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/unkn0w7n/calibre
This commit is contained in:
commit
f90e08aae7
@ -47,6 +47,13 @@ class eenadu_ts(BasicNewsRecipe):
|
|||||||
resolve_internal_links = True
|
resolve_internal_links = True
|
||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
|
|
||||||
|
def get_browser(self, *args, **kw):
|
||||||
|
br = BasicNewsRecipe.get_browser(self, *args, **kw)
|
||||||
|
br.addheaders += [
|
||||||
|
('Referer', 'https://www.eenadu.net/')
|
||||||
|
]
|
||||||
|
return br
|
||||||
|
|
||||||
def get_cover_url(self):
|
def get_cover_url(self):
|
||||||
import json
|
import json
|
||||||
from datetime import date
|
from datetime import date
|
||||||
@ -94,10 +101,10 @@ class eenadu_ts(BasicNewsRecipe):
|
|||||||
('ఆహా', 'recipes'),
|
('ఆహా', 'recipes'),
|
||||||
('హాయ్ బుజ్జీ', 'kids-stories'),
|
('హాయ్ బుజ్జీ', 'kids-stories'),
|
||||||
('మకరందం', 'devotional'),
|
('మకరందం', 'devotional'),
|
||||||
('దేవతార్చన', 'temples'),
|
('దేవతార్చన', 'temples'),
|
||||||
('స్థిరాస్తి', 'real-estate'),
|
('స్థిరాస్తి', 'real-estate'),
|
||||||
('కథామృతం', 'kathalu'),
|
('కథామృతం', 'kathalu'),
|
||||||
('సండే మ్యాగజైన్', 'sunday-magazine')
|
('సండే మ్యాగజైన్', 'sunday-magazine')
|
||||||
]
|
]
|
||||||
for x in art_list:
|
for x in art_list:
|
||||||
art_index = art + x[1] + '/'
|
art_index = art + x[1] + '/'
|
||||||
|
@ -47,6 +47,13 @@ class eenadu_ap(BasicNewsRecipe):
|
|||||||
resolve_internal_links = True
|
resolve_internal_links = True
|
||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
|
|
||||||
|
def get_browser(self, *args, **kw):
|
||||||
|
br = BasicNewsRecipe.get_browser(self, *args, **kw)
|
||||||
|
br.addheaders += [
|
||||||
|
('Referer', 'https://www.eenadu.net/')
|
||||||
|
]
|
||||||
|
return br
|
||||||
|
|
||||||
def get_cover_url(self):
|
def get_cover_url(self):
|
||||||
import json
|
import json
|
||||||
from datetime import date
|
from datetime import date
|
||||||
@ -94,10 +101,10 @@ class eenadu_ap(BasicNewsRecipe):
|
|||||||
('ఆహా', 'recipes'),
|
('ఆహా', 'recipes'),
|
||||||
('హాయ్ బుజ్జీ', 'kids-stories'),
|
('హాయ్ బుజ్జీ', 'kids-stories'),
|
||||||
('మకరందం', 'devotional'),
|
('మకరందం', 'devotional'),
|
||||||
('దేవతార్చన', 'temples'),
|
('దేవతార్చన', 'temples'),
|
||||||
('స్థిరాస్తి', 'real-estate'),
|
('స్థిరాస్తి', 'real-estate'),
|
||||||
('కథామృతం', 'kathalu'),
|
('కథామృతం', 'kathalu'),
|
||||||
('సండే మ్యాగజైన్', 'sunday-magazine')
|
('సండే మ్యాగజైన్', 'sunday-magazine')
|
||||||
]
|
]
|
||||||
for x in art_list:
|
for x in art_list:
|
||||||
art_index = art + x[1] + '/'
|
art_index = art + x[1] + '/'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user