mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-05-04 16:34:09 +00:00
[YouTube] Clarify BotGuard API key's origin and disable related Sonar warning
This commit is contained in:
parent
70ff47b810
commit
ecd3f6c2ee
@ -324,7 +324,8 @@ class PoTokenWebView private constructor(
|
||||
|
||||
companion object : PoTokenGenerator.Factory {
|
||||
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 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user