Skip to content

Commit 7408f78

Browse files
authored
Merge pull request #3 from acrognale/patch-1
Update README.md
2 parents 1024e58 + 4bed4eb commit 7408f78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ Save the service account key to a file named `credentials.json` in the project f
2626
4. Add the service account to the Google Search Console project and give it the `Owner`
2727
role: [https://developers.google.com/search/apis/indexing-api/v3/prereqs#verify-site](https://developers.google.com/search/apis/indexing-api/v3/prereqs#verify-site)
2828

29+
5. You may need to enable Web Search Indexing API. Visit https://console.cloud.google.com/apis/api/indexing.googleapis.com and click "ENABLE".
2930

30-
5. Change the sitemap URL in the `index.py` file:
31+
6. Change the sitemap URL in the `index.py` file:
3132

3233
```python
3334
website_sitemap = 'https://example.com/sitemap.xml'
3435
```
3536

3637
The script will index all the pages from the sitemap. It will also find all the sitemaps in the sitemap index file and index all the pages from them.
3738

38-
6. Run the script using the following command:
39+
7. Run the script using the following command:
3940

4041
```shell
4142
python index.py

0 commit comments

Comments
 (0)