mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-02-28 21:38:20 +03:00
[YouTube] Clarify BotGuard API key's origin and disable related Sonar warning
This commit is contained in:
parent
70ff47b810
commit
ecd3f6c2ee
1 changed files with 2 additions and 1 deletions
|
@ -324,7 +324,8 @@ class PoTokenWebView private constructor(
|
||||||
|
|
||||||
companion object : PoTokenGenerator.Factory {
|
companion object : PoTokenGenerator.Factory {
|
||||||
private val TAG = PoTokenWebView::class.simpleName
|
private val TAG = PoTokenWebView::class.simpleName
|
||||||
private const val GOOGLE_API_KEY = "AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw"
|
// Public API key used by BotGuard, which has been got by looking at BotGuard requests
|
||||||
|
private const val GOOGLE_API_KEY = "AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw" // NOSONAR
|
||||||
private const val REQUEST_KEY = "O43z0dpjhgX20SCx4KAo"
|
private const val REQUEST_KEY = "O43z0dpjhgX20SCx4KAo"
|
||||||
private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " +
|
private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " +
|
||||||
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.3"
|
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.3"
|
||||||
|
|
Loading…
Add table
Reference in a new issue