Quote:
Originally Posted by PipSqueak
Can anyone help me fix this recipe?
|
You don't need to use obfuscated_article as far as I can tell.
Try this to start:
Spoiler:
Code:
class Star_Malaysia(BasicNewsRecipe):
title = u'The Star Malaysia'
__author__ = 'Starson17'
oldest_article = 20
max_articles_per_feed = 10
keep_only_tags = [dict(name='div', attrs={'id':'story_main'})]
remove_tags_after = dict(name='div', attrs={'id':'story_content'})
feeds = [(u'Nation News', u'http://thestar.com.my/rss/nation.xml'), (u'Business News', u'http://thestar.com.my/rss/business.xml'), (u'Technology News', u'http://thestar.com.my/rss/technology.xml'), (u'World Updates', u'http://thestar.com.my/rss/worldupdates.xml'), (u'Sports News', u'http://thestar.com.my/rss/sports.xml'), (u'Columnists', u'http://thestar.com.my/rss/columnists.xml'), (u'Opinions', u'http://thestar.com.my/rss/opinion.xml')]