# -*- coding: utf-8 -*- # @Time : 2025/8/19 17:13 # @Author : zhaoxiangpeng # @File : run.py import os import re from scrapy.crawler import CrawlerProcess from scrapy.utils.project import get_project_settings process = CrawlerProcess(get_project_settings()) process.crawl('douban_top250') process.start()