View Single Post
Old 09-08-2021, 12:42 PM   #1
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 630
Karma: 85520
Join Date: May 2021
Device: kindle
Article link is hyperlinked into the text of every article of an RSS feed..

I have created an RSS feed in calibre recipe but every article's whole-text is hyperlinked.

I know its a source problem.. what can I add to the recipe code such that the <a href=" "> part at the start gets removed. I get some 30 articles from that RSS feed and each one gets hyperlinked.

I know its just an RSS feed.. but here's the link

class TheWeek(BasicNewsRecipe):
title = u'The Week - India'
language = 'en_IN'
__author__ = 'Myself'
oldest_article = 15 # days
max_articles_per_feed = 25

no_stylesheets = True
auto_cleanup = True

feeds = [
('Cover Story', 'https://www.theweek.in/theweek/cover.rss.html'),
('Sports', 'https://www.theweek.in/theweek/sports.rss.html'),
('Current', 'https://www.theweek.in/theweek/current.rss.html'),
('StateCan', 'https://www.theweek.in/theweek/statescan.rss.html'),
('Leisure', 'https://www.theweek.in/theweek/leisure.rss.html'),
('Business', 'https://www.theweek.in/theweek/business.rss.html'),
('Specials', 'https://www.theweek.in/theweek/specials.rss.html'),
('More', 'https://www.theweek.in/theweek/more.rss.html'),
('Society', 'https://www.theweek.in/leisure/society.rss.html'),

]
unkn0wn is offline   Reply With Quote