Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/m/y/mygpo-HEAD/mygpo/data/feeddownloader.py   mygpo(Download)
from mygpo.core.models import DEFAULT_UPDATE_INTERVAL, MIN_UPDATE_INTERVAL, \
    MAX_UPDATE_INTERVAL
from feedservice.parse import parse_feed, FetchFeedException
from feedservice.parse.text import ConvertMarkdown
from feedservice.parse.models import ParserException
    def _fetch_feed(self, podcast_url):
        import socket
        t = socket.getdefaulttimeout()
        socket.setdefaulttimeout(10)
        return parse_feed(podcast_url, text_processor=ConvertMarkdown())

src/m/y/mygpo-feedservice-HEAD/feedservice/parse/tests.py   mygpo-feedservice(Download)
from django.test import TestCase
 
from feedservice.parse import parse_feed
 
 
class SimpleTest(TestCase):
 
    def test_basic_parse(self):
        URL = 'http://feeds.feedburner.com/linuxoutlaws'
        parse_feed(URL, None)