View Single Post
Old 11-12-2018, 09:10 AM   #1
Phoebus
Member
Phoebus began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Aug 2015
Device: Kobo Aura H2O
Reddit feed with comments

Hello, I thought that I could set up a Reddit feed to get the top results for the past week for a key phrase. I used the basic feature in Calibre to get the feed and the original post but it doesn't capture the other users' comments. Any tips on what I should change?

I've put the RSS feed into Feedburner as well but makes no difference using http://feeds.feedburner.com/Redditco...esults-Testing

Thanks

Code:
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1542031690(BasicNewsRecipe):
    title          = 'Reddit testing'
    oldest_article = 7
    max_articles_per_feed = 100
    auto_cleanup   = False

    feeds          = [
        ('Reddit testing', 'https://www.reddit.com/search.xml?q=testing&sort=top&t=week'),
    ]

Last edited by Phoebus; 11-12-2018 at 11:19 AM.
Phoebus is offline   Reply With Quote