aboutsummaryrefslogtreecommitdiffstats
path: root/extra/sitemap/generate_sitemap_indices.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-04-30 14:17:12 -0700
committerBryan Newbold <bnewbold@archive.org>2021-04-30 14:17:12 -0700
commitc367d54fe47cf71ada73fa9ad16495824e07abfc (patch)
treedd07d6ec55b06c85a75f0f7e2663598ca2d57a66 /extra/sitemap/generate_sitemap_indices.py
parent0b453b0f74cc88507a7176ec5d749e9bbeb49176 (diff)
downloadfatcat-scholar-c367d54fe47cf71ada73fa9ad16495824e07abfc.tar.gz
fatcat-scholar-c367d54fe47cf71ada73fa9ad16495824e07abfc.zip
sitemaps: not gzip compressed
Diffstat (limited to 'extra/sitemap/generate_sitemap_indices.py')
-rwxr-xr-xextra/sitemap/generate_sitemap_indices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sitemap/generate_sitemap_indices.py b/extra/sitemap/generate_sitemap_indices.py
index 5b5cad2..f1ec494 100755
--- a/extra/sitemap/generate_sitemap_indices.py
+++ b/extra/sitemap/generate_sitemap_indices.py
@@ -10,7 +10,7 @@ def index_entity(entity_type, output):
print("""<?xml version="1.0" encoding="UTF-8"?>""", file=output)
print("""<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">""", file=output)
- for filename in glob.glob(f"sitemap-{entity_type}-*.txt.gz"):
+ for filename in glob.glob(f"sitemap-{entity_type}-*.txt"):
print(" <sitemap>", file=output)
print(f" <loc>https://scholar.archive.org/{filename}</loc>", file=output)
print(f" <lastmod>{now}</lastmod>", file=output)