From f82c7f1d60bd6ce6b46d39e636158462e576fd8d Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Wed, 21 Oct 2015 20:14:51 +0000 Subject: Moved tempdir to download location --- youtube_podcaster/podcastupdater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube_podcaster/podcastupdater.py') diff --git a/youtube_podcaster/podcastupdater.py b/youtube_podcaster/podcastupdater.py index 8afebfa..4ba4c8d 100644 --- a/youtube_podcaster/podcastupdater.py +++ b/youtube_podcaster/podcastupdater.py @@ -71,7 +71,7 @@ class PodcastUpdater: feed = self.add_feed(feed_id, yt_playlist) if feed.last_updated < time.time() - 600: - self.populate_feed(feed, feed_id, yt_playlist) + self.populate_feed(feed, feed_id, yt_playlist, max_results=1) feed.rss_file(feed_file) with open(self.feeds_file, "wb") as feeds: -- cgit v1.2.3