Quote:
masthead_url = 'https://indianexpress.com/wp-content/themes/indianexpress/images/indian-express-logo-n.svg'
|
Quote:
extra_css = '#storycenterbyline {font-size:small};'
|
Code:
def get_cover_url(self):
soup = self.index_to_soup('https://www.magzter.com/IN/The-Indian-Express-Ltd./The-Indian-Express-Mumbai/Newspaper/')
for citem in soup.findAll('meta', content=lambda s: s and s.endswith('view/3.jpg')):
return citem['content']
Quote:
remove_tags = [
classes('share-social appstext storytags ie-int-campign-ad ie-breadcrumb custom_read_button unitimg copyright pdsc-related-modify news-guard')
|
bold parts to be added. (story-tags to be replaced with storytags)
more feeds
Quote:
('Research', 'https://indianexpress.com/section/research/feed/'),
('UPSC-CSE Key','https://indianexpress.com/section/upsc-current-affairs/feed/'),
('World','https://indianexpress.com/section/world/feed/'),
('Business', 'https://indianexpress.com/section/business/feed/'),
|