def _fetch_feed(self, podcast_url): import socket t = socket.getdefaulttimeout() socket.setdefaulttimeout(10) return parse_feed(podcast_url, text_processor=ConvertMarkdown()) socket.setdefaulttimeout(t)
def test_basic_parse(self): URL = 'http://feeds.feedburner.com/linuxoutlaws' parse_feed(URL, None)