aboutsummaryrefslogtreecommitdiffstats
path: root/piccast/feeds/management
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2011-04-27 20:23:42 -0400
committerbnewbold <bnewbold@robocracy.org>2011-04-27 20:26:17 -0400
commitc0394f2461854b2735aa5ff7b5435b5bc1978498 (patch)
tree56949faf4d5072a4d18fea46f845655ab4b57768 /piccast/feeds/management
parent309dfaef522a3861fdaae4bddad8197db1c98984 (diff)
downloadpiccast-c0394f2461854b2735aa5ff7b5435b5bc1978498.tar.gz
piccast-c0394f2461854b2735aa5ff7b5435b5bc1978498.zip
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
Diffstat (limited to 'piccast/feeds/management')
-rw-r--r--piccast/feeds/management/commands/scrape_feeds.py2
1 files changed, 1 insertions, 1 deletions
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'])), \