api: move accept header check into handler, simplify error handling (#614)
This commit is contained in:
@@ -159,6 +159,7 @@
|
||||
"UpdateOneMillion": "1 million users and blazing speed",
|
||||
"ErrorYTAgeRestrict": "this youtube video is age-restricted, so i can't see it. try another one!",
|
||||
"ErrorYTLogin": "couldn't get this youtube video because it requires an account to view.\n\nthis limitation is done by google to seemingly stop scraping, affecting all 3rd party tools and even their own clients.\n\ntry again, but if issue persists, {ContactLink}.",
|
||||
"ErrorYTRateLimit": "i got rate limited by youtube. try again in a few seconds, but if issue persists, {ContactLink}."
|
||||
"ErrorYTRateLimit": "i got rate limited by youtube. try again in a few seconds, but if issue persists, {ContactLink}.",
|
||||
"ErrorInvalidAcceptHeader": "invalid accept header"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user