Comments (13)
I own a math calculator website with solutions to almost all possible textbook equations, for the benefit of the doubt, I make around 1 million pages a month and I need an automated indexer, I own several websites with 10M+ pages as well
so a good client side rate limiter would be a huge help for sites like mine
from google-indexing-script.
The API is limited to 200 requests per day (not per second) as per Google Documentation
Since this quota is at the service account level, an option would be for the script to support multiple service accounts credentials.
from google-indexing-script.
you can ask google more quota, but i a dont think 50m will be accepted lol
from google-indexing-script.
Agree @AntoineKM I think option 1 is the best one, but also save the progress so the next run would not have to go through the same URLs.
Would you like to send a PR? I don't have such large sites to test it :)
from google-indexing-script.
site has about 6 million web pages, and a 429 error occurs during batch processing.
6 million? That's the number of articles in English on Wikipedia 😆
same problem for me, my site has reached around 50 million pages as well, all in the sitemap, maybe we can implement a rate limit? let's say allow this script to only send 200 requests per minute since that's the maximum allowed request speed. i will run this script indefinitely so id appreciate if we can limit the requests
50 million??? That's the number of all articles in all languages on Wikipedia lol
from google-indexing-script.
This was also a problem for a site with 15k pages. It couldn't get all the batches. This needs to be more robust with long term local caching of urls and 200 requests per day to the indexing api.
from google-indexing-script.
same problem for me, my site has reached around 50 million pages as well, all in the sitemap, maybe we can implement a rate limit? let's say allow this script to only send 200 requests per minute since that's the maximum allowed request speed. i will run this script indefinitely so id appreciate if we can limit the requests
from google-indexing-script.
same problem for me, my site has reached around 50 million pages as well, all in the sitemap, maybe we can implement a rate limit? let's say allow this script to only send 200 requests per minute since that's the maximum allowed request speed. i will run this script indefinitely so id appreciate if we can limit the requests
50 million ??? how?
from google-indexing-script.
yes, we have the same problem with 25k sites. "429 error"
Is there a way to increase the quota for "money"?
From a maximum of 200 to more?
from google-indexing-script.
is that normal, the Web Search Indexing API
has no "Traffic" only the Google Search Console API
? Thanks
from google-indexing-script.
I noticed that too on my project, I guess it’s normal or a bug on Google’s side
from google-indexing-script.
❌ Failed to request indexing.
Response was: 429
{
"error": {
"code": 429,
"message": "Quota exceeded for quota metric 'Publish requests' and limit 'Publish requests per day' of service 'indexing.googleapis.com' for consumer 'project_number:xxx'.",
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "RATE_LIMIT_EXCEEDED",
"domain": "googleapis.com",
"metadata": {
"quota_location": "global",
"consumer": "projects/xxx",
"quota_limit_value": "200",
"service": "indexing.googleapis.com",
"quota_limit": "DefaultPublishRequestsPerDayPerProject",
"quota_metric": "indexing.googleapis.com/v3_publish_requests"
}
},
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Request a higher quota limit.",
"url": "https://cloud.google.com/docs/quota#requesting_higher_quota"
}
]
}
]
}
}
A great feature to implement would be to:
- 1. Stop the process while this error occur (#29)
- 2. Ask the user if we want to continue or stop the process here
- 3. Tell the user he can request a higher quota limit or retry in xx hours
from google-indexing-script.
I also agree with @AntoineKM The first option is the best.
I also made the script run on a schedule. It would be nice to run it and forget it.
from google-indexing-script.
Related Issues (20)
- URLs found but could not be indexed due to Code 403 (Permission Error) HOT 3
- Credential error? HOT 1
- Help sir const accessToken = await getAccessToken(); HOT 1
- Error.captureStackTrace(err, this) / cause: ConnectTimeoutError: Connect Timeout Error HOT 1
- throw new Error('No key or keyFile set.') HOT 1
- Requests can be made again when an unexpected error occurs. HOT 1
- Publish as npm package HOT 2
- ETIMEDOUT HOT 1
- Found 0 URLs in 1 sitemap HOT 1
- 0 urls found HOT 4
- Script blocked HOT 2
- The script works strangely HOT 5
- [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory HOT 1
- Can not find the package google-indexing-script HOT 3
- i always get this error fetch is not defined when submit the domain HOT 15
- Hey does this script support subdomains? HOT 8
- Introduce sent indexing urls cache? HOT 3
- RateLimited during url inspection HOT 2
- Can it work for multiple websites and multiples services account HOT 1
- I think the script doesn't work with a 23k urls sitemap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-indexing-script.