2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-29 13:27:38 +00:00

Fix a typo in YoutubeChannelExtractor

This commit is contained in:
TiA4f8R 2021-05-31 15:43:11 +02:00
parent 0f9e9b8b4b
commit ae5abc0c5d
No known key found for this signature in database
GPG Key ID: E6D3E7F5949450DD

View File

@ -146,7 +146,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor {
if (!isNullOrEmpty(jsonResponse.getObject("error"))) {
final int errorCode = jsonResponse.getObject("error").getInt("code");
if (errorCode == 400) {
throw new ContentNotAvailableException("This channel doesn't exists");
throw new ContentNotAvailableException("This channel doesn't exist.");
} else {
throw new ContentNotAvailableException("Got error:\""
+ jsonResponse.getString("status") + "\""