Closed Garrett-R closed 3 years ago
It seems redirects are not meant to be in the sitemap (see second commit's message for citations). So this prevents that.
I also tacked on 2 minor cleanups: one for imports and one to use defaultdict, but let me know if you don't want those.
defaultdict
Thanks for the PR. Nice addition and nice spring cleaning ;)
Haha, great glad you liked it!
It seems redirects are not meant to be in the sitemap (see second commit's message for citations). So this prevents that.
I also tacked on 2 minor cleanups: one for imports and one to use
defaultdict
, but let me know if you don't want those.