我有一个包含 100 个 URL 的文本文件。我想对文本文件中的每个 URL 依次使用 wget。
最佳答案
让您开始使用 bash:
#!/bin/bash
location='the/Location/of/thefile.txt'
cat '$location' | while read url
do
wget $url
done
关于python - 如何使用 wget 自动执行网页浏览任务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43425428/