c4software / python-sitemap

Mini website crawler to make sitemap from a website.
GNU General Public License v3.0
366 stars 110 forks source link

Add options to pretty print the output XML #28

Closed c4software closed 7 years ago

c4software commented 7 years ago

Add xmllint to produce an human readable XML.

Ref to #26

c4software commented 7 years ago

With the current implementation the most simple is too run xmlint manually via pipe

c4software commented 7 years ago

Example :

python3 main.py --domain https://blog.lesite.us --images --parserobots | xmllint --format -
c4software commented 7 years ago

Added in the README