You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -84,14 +84,18 @@ To remove your API key from your default keystore, run `keyring del system psike
84
84
85
85
## Sitemap Support
86
86
87
-
Currently, only URLs to valid XML sitemaps are supported for reports that utilize sitemap format.
87
+
Currently, only URLs to valid XML sitemaps are supported for reports that utilize sitemap format. Please see [sitemaps.org](https://sitemaps.org/protocol.html) for specification details.
88
88
89
-
Your web server or sitemap plugin must also allow robots to crawl your sitemap. If you see any permission errors that would be the first thing to check.
90
-
91
-
In the future, support for sitemap indices, multiple sitemaps and more advanced sitemap parsing will hopefully be added.
89
+
Your web server or sitemap plugin must also allow robots to crawl your sitemap. If you see any permission errors that would be the first thing to check. Certain security solutions like CloudFlare also block crawlers so whitelisting the server you're running the package from may also be preferrable.
92
90
93
91
Your sitemap URL should be passed in as the positional argument for `url` when running `psi` from the command line.
94
92
93
+
### Sitemap Index
94
+
95
+
Support for sitemap index detection was recently added. This requires no additional action on your part. Simply pass your sitemap index in as the `url` argument via the cli.
96
+
97
+
If a sitemap index is detected, the package will recursively gather the URLs listed in each sitemap in your sitemap index and include them in requests. If a standard sitemap file is passed, only that sitemap will be processed.
98
+
95
99
## Command Line Arguments
96
100
97
101
If you've installed `pyspeedinsights` with `pip`, the default command to run cli commands is `psi`.
0 commit comments