有时候想要下载别人随机图片,一个个保存非常麻烦,既然它是随机的图片,那么完全可以写个脚本进行保存,不过这种方式有可能存在相同文件。 for i in {1..200} do wget https://www.dmoe.cc/random.php --no-check-certificate -O $i'.png' done 结果如图:
在网站根目录,编辑 wp-config.php。 在 /* That’s all, stop editing! Happy blogging. */ 前面填入代码: /* Add any custom values between this line and the "stop editing" line. */ define('ALLOW_UNFILTERED_UP...