You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
p27cbh5ik c99c82fe28
ADD file via upload
5 months ago
README.md ADD file via upload 5 months ago
main.py ADD file via upload 5 months ago
requirements.txt ADD file via upload 5 months ago

README.md

运行环境

  • Chrome 版本 72.0.3626.109(正式版本) 64 位)
  • Python 3.5.2 :: Anaconda 4.2.0 (64-bit)

前置库

核心库如下

  • requests
  • fake_useragent
  • BeautifulSoup

在当前目录下的控制台使用以下命令,批量安装上述相关的程序包

pip install -r requirements.txt

使用方法

环境

配置代理的终端可以直接使用 pip install -r requirements 觉得下载速度慢,可以使用清华镜像源下载相关依赖 pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

运行脚本main.py

将文件下载到本地cmd进入该文件夹

image-20240612112639165

运行结果

image-20240612112712557

csv

image-20240612112738818

txt

image-20240612112815789