使用python的PySitemap模块用于自动爬取网站sitemap生成sitemap.xml-python生成sitemap-泓源视野

使用python的PySitemap模块用于自动爬取网站sitemap生成sitemap.xml

python sitemap生成 PySitemap
https://github.com/lvwuwei/PySitemap

If you want custome path for sitemap file you can add --output option like below

使用方法

python main.py --url="https://www.byy3.com" --output="/root/pystiemap/sitemap.xml" 使用python的PySitemap模块用于自动爬取网站sitemap生成sitemap.xml插图
本文由 泓源视野 作者:admin 发表,其版权均为 泓源视野 所有,文章内容系作者个人观点,不代表 泓源视野 对观点赞同或支持。如需转载,请注明文章来源。
20

发表评论

Protected with IP Blacklist CloudIP Blacklist Cloud
您是第8234221 位访客, 您的IP是:[18.216.121.55]