42
GitHub - QiangMouRen/BilibiliImg: PHP批量下载B站高清壁纸并用于随机图片接口
source link: https://github.com/QiangMouRen/BilibiliImg
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
PHP批量下载B站高清壁纸
命令行下执行 php get.php 就会自动下载
图片保存目录默认为 images
自定义保存目录可以在命令行下执行 php get.php path='自定义目录/'
图片本地路径都在 data.json 文件
用下载来的图片做所谓的随机图片接口
打开 index.php 文件修改$url变量为自己的域名 /结尾
访问 /index.php 看看
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK