Skip to content

Commit 797cdc8

Browse files
committed
Invidious: Fix related videos not shown
1 parent c6968ce commit 797cdc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/invidious/extractors/InvidiousStreamExtractor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ public StreamInfoItemsCollector getRelatedItems() throws IOException, Extraction
266266
json.getArray("recommendedVideos").stream()
267267
.filter(JsonObject.class::isInstance)
268268
.map(JsonObject.class::cast)
269-
.forEach(o -> new InvidiousStreamInfoItemExtractor(o, baseUrl));
269+
.map(o -> new InvidiousStreamInfoItemExtractor(o, baseUrl))
270+
.forEach(collector::commit);
270271

271272
return collector;
272273
} catch (final Exception e) {

0 commit comments

Comments
 (0)