From c0394f2461854b2735aa5ff7b5435b5bc1978498 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 27 Apr 2011 20:23:42 -0400 Subject: a few small todo items - add 3 more categories of pics from acidcow: celebs, girls, and cars - add favicon url field to PicFeed - credits/license field for Pic and PicSet - sort json/sets_by_feed (most recent first) - add 'is_active' mechanism to disable feeds w/o deleting --- piccast/feeds/management/commands/scrape_feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'piccast/feeds/management/commands') diff --git a/piccast/feeds/management/commands/scrape_feeds.py b/piccast/feeds/management/commands/scrape_feeds.py index c391470..2371f97 100644 --- a/piccast/feeds/management/commands/scrape_feeds.py +++ b/piccast/feeds/management/commands/scrape_feeds.py @@ -144,7 +144,7 @@ def scrape_feed(feed_shortname): del f if(feed_shortname == u"acidcow"): - psets = filter(lambda s: s['category'] in (u'Pics', u'Picdump'), psets) + psets = filter(lambda s: s['category'] in (u'Pics', u'Picdump',u'Celebs',u'Girls',u'Cars'), psets) new_psets = filter(lambda s: \ 0 == len(PicSet.objects.filter(source_url=s['source_url'])), \ -- cgit v1.2.3