示例#1
0
文件: crawler.py 项目: adminus/podato
def _store_podcast(podcast_data):
    """Given a list of dictionaries representing podcasts, store them all in the database."""
    if not podcast_data:
        return
    podcast = Podcast(**podcast_data)
    podcast.save()
    return podcast