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
1 changed files with 1 additions and 1 deletions

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