def main(): settings = get_project_settings() process = CrawlerProcess(settings) process.crawl("pixiv") process.start()