示例#1
0
文件: crawler.py 项目: adminus/podato
def _update_podcasts():
    to_update = Podcast.get_update_needed()
    i = 1
    for podcast in to_update:
        print "Updating the %snd podcast" % i
        i += 1
        _update_podcast.s(url=podcast.url).apply_async()
示例#2
0
文件: crawler.py 项目: adminus/podato
def _update_podcasts():
    to_update = Podcast.get_update_needed()
    i = 1
    for podcast in to_update:
        print "Updating the %snd podcast" % i
        i += 1
        _update_podcast.s(url=podcast.url).apply_async()