c4software / python-sitemap

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

Sort URLs alphabetically #88

Closed marshvee closed 6 months ago

marshvee commented 6 months ago

For large sitemaps, it's tough to see what changed when you rebuild it. That's because the URLs are not written in alphabetical order, so the diff doesn't work to see actual changes.

That's why the default behavior will now be to sort the output URLs alphabetically for generating the sitemap. If you want to disable this, you can just add the flag:

python main.py --no-sort

Resolves #85

c4software commented 6 months ago

Hi @marshvee

Thanks for the PR, can you resolve the conflict, and after that I will merge it.

Thanks again for the time and your contribution.

marshvee commented 6 months ago

Hi @marshvee

Thanks for the PR, can you resolve the conflict, and after that I will merge it.

Thanks again for the time and your contribution.

@c4software I just solved the conflict!

marshvee commented 6 months ago

Hey @c4software just wanted to remind you about this!