You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
315 B
Python
15 lines
315 B
Python
# -*- 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()
|