Skip to content

Commit 872986d

Browse files
committed
Fix search extraction
1 parent 35e32c4 commit 872986d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ public InfoItemsPage<InfoItem> getInitialPage() throws IOException, ExtractionEx
4646
public InfoItemsPage<InfoItem> getPage(
4747
final Page page
4848
) throws IOException, ExtractionException {
49+
if (results == null) {
50+
return InfoItemsPage.emptyPage();
51+
}
52+
4953
int pageNumber = 1;
5054
try {
5155
if (page.getId() != null) {

0 commit comments

Comments
 (0)