I use this script: http://leecher.pastebin.com/f197a7770 (from this http://code.google.com/p/leechr/ )
Basically it searches myepisodes.com for what programmes I watch, and then uses that search criteria to download .nzb files from newzleech.com (it doesnt actually download any tv shows, just .nzb files which are just xml information files)
But its been broken for some time now - the way it searches newzleech.com is just to append the search string to the rss part of their page, which no longer works. I was looking to change the code so instead it would parse a proper rss feed (eg: http://www.tvnzb.com/tvnzb_new.rss )for the search string..
Ive come up with this snippet:
But Im not really sure how to change the existing code to incorporate it..Code:import feedparser d = feedparser.parse("http://www.tvnzb.com/tvnzb_new.rss") for entry in d['entries']: if entry['title'] == "INSERT MYEPS EP HERE": goGetTheURL(entry['link'])
Any pointers would be much appreciated...