Skip to content

Comment on Show HN: Open-source script to get your site indexed on Google

Comments

This script abuses the Indexing API which is intended for job posting and other specific purposes. https://developers.google.com/search/apis/indexing-api/v3/qu...

Use at your own risk.

Might simply not work for your website:

Currently, the Indexing API can only be used to crawl pages with either JobPosting or BroadcastEvent embedded in a VideoObject.

I wanted to highlight (in addition to your statement) that JobPosting is a specific type of structured data.

If the target site doesn't have these elements, it may or may not work... or it may work for now, but not once they realized it's being used incorrectly

JobPosting structured data: https://developers.google.com/search/docs/appearance/structu...

If you dont have content that falls into those categories, the API won't help you there.

https://www.youtube.com/watch?v=kvYb2bdtT7A&t=422s

IME it will silently drop and ignore anything that is not relevant.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.