mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-04-20 17:53:15 +00:00
Merge pull request #12150 from FineFindus/fix/potoken-index
[YouTube] Access first element if array size is one
This commit is contained in:
commit
5840d3a437
@ -17,7 +17,7 @@ fun parseChallengeData(rawChallengeData: String): String {
|
||||
val descrambled = descramble(scrambled.getString(1))
|
||||
JsonParser.array().from(descrambled)
|
||||
} else {
|
||||
scrambled.getArray(1)
|
||||
scrambled.getArray(0)
|
||||
}
|
||||
|
||||
val messageId = challengeData.getString(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user