fix: parsing attributed description with no command runs
This commit is contained in:
@@ -1029,7 +1029,7 @@ public final class YoutubeParsingHelper {
|
|||||||
|
|
||||||
final String content = attributedDescription.getString("content");
|
final String content = attributedDescription.getString("content");
|
||||||
final JsonArray commandRuns = attributedDescription.getArray("commandRuns");
|
final JsonArray commandRuns = attributedDescription.getArray("commandRuns");
|
||||||
if (content == null || commandRuns.isEmpty()) {
|
if (content == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user