fix: YT shorts view count parsing (2)

This commit is contained in:
ThetaDev 2023-03-22 01:07:46 +01:00
parent 8ecee8737c
commit 8cd6439d19
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
final String viewCountText = getTextFromObject(videoInfo.getObject("viewCountText"));
final boolean isReelItem =
videoInfo.getString("videoType", "").equals("REEL_VIDEO_TYPE_VIDEO");
videoInfo.getString("videoType", "").startsWith("REEL_");
if (!isNullOrEmpty(viewCountText)) {
try {
return getViewCountFromViewCountText(viewCountText, isReelItem);