mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-28 16:00:33 +05:30
Fix null pointer exception
This commit is contained in:
parent
3fdc0e72cc
commit
b1a899fd47
@ -350,10 +350,10 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
|
||||
.orElse(null);
|
||||
|
||||
if (!isNullOrEmpty(thumbnailTimeOverlay)) {
|
||||
isShort = thumbnailTimeOverlay.getString("style")
|
||||
isShort = thumbnailTimeOverlay.getString("style", "")
|
||||
.equalsIgnoreCase("SHORTS")
|
||||
|| thumbnailTimeOverlay.getObject("icon")
|
||||
.getString("iconType")
|
||||
.getString("iconType", "")
|
||||
.toLowerCase()
|
||||
.contains("shorts");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user