1. 首页
  2. 数据库
  3. 其它
  4. wp content scraper:用于抓取wp contentuploads类的文件夹内容特别是图像 源码

wp content scraper:用于抓取wp contentuploads类的文件夹内容特别是图像 源码

上传者: 2021-05-03 12:11:33上传 ZIP文件 4.9KB 热度 9次
wp-content-scraper 该脚本可用于生成存储在WordPress服务器的wp-content/uploads/中的图像的url。 该脚本使用Python3.9 ,为此刮板使用virtualenv是一个好习惯。 ###如何使用脚本 使用以下命令安装所需的python库 pip install -r requirements.txt 随着库的安装, Add the wp-content urls to be scraped into the test.txt file. (Sample urls are already present in the file. Remove them and add your urls.) 要运行脚本, python scrape.py ###输出 图像链接将存储在名称为_links.txt 。 现在,您可以使用自
下载地址
用户评论