Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hiddendragonXVII/3184937 to your computer and use it in GitHub Desktop.
Save hiddendragonXVII/3184937 to your computer and use it in GitHub Desktop.
approved publishers without rss feeds
from mongokit import Connection, Document
import json
import feedparser
connection = Connection()
publishers = connection.publisher.master
for publisher in publishers.find( { 'definitely_flag': True } ):
if not publisher.get('rss_feeds'):
print publisher.get('label')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment