没有论坛币,发个帖子先。
和讯网所有上市公司社会责任评分数据爬取代码和数据--基于scrapy(Python)--可直接运行。
论坛里面有stata的爬取代码。但是没有看到python的。所以传一个python版本的。基于异步爬取框架,速度比较快。由于数据很少,就没有写入数据库了,直接保存csv或者json就可以。
后续还可以再传点儿其它项目的python爬虫代码。不太懂这里的产品价格定多少合适。。暂时这么高吧,如果觉得贵了,我改 。卷 Windows 的文件夹 PATH 列表
卷序列号为 644E-FD86
C:.
│ hexun.csv
│ list.txt
│ scrapy.cfg
│
└─hexun_CSR
│ items.py
│ middlewares.py
│ pipelines.py
│ settings.py
│ __init__.py
│
├─spiders
│ │ hexun.py
│ │ __init__.py
│ │
│ └─__pycache__
│ hexun.cpython-39.pyc
│ __init__.cpython-39.pyc
│
└─__pycache__
items.cpython-39.pyc
settings.cpython-39.pyc
__init__.cpython-39.pyc
遵循我在吾爱发帖子原则:
土豪打赏通道:
免费通道:
https://wwr.lanzous.com/i6Wlvo9knof
密码:gpt6