Skip to content

Instantly share code, notes, and snippets.

@zongai zongai/
Created Dec 23, 2014

What would you like to do?
import feedparser
def get_btchat_list():
items = feedparser.parse("")
showlist = ['Mulaney','Major.Crimes']
entries = []
for item in items['entries']:
entrie = {}
entrie['title'] = item['filename']
entrie['magneturi'] = item['magneturi']
for show in showlist:
if show in entrie['title']:
return entries
if __name__ == '__main__':
print get_btchat_list()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.