Fix a typo in YoutubeChannelExtractor

This commit is contained in:
TiA4f8R
2021-05-31 15:43:11 +02:00
parent 0f9e9b8b4b
commit ae5abc0c5d

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") + "\""