mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-30 12:35:44 +01:00
Google begins with page 1 so we add 1 to our page starting with 0
This commit is contained in:
parent
dbb1f371b3
commit
83837bde11
@ -53,7 +53,7 @@ public class YoutubeSearchEngine extends SearchEngine {
|
|||||||
|
|
||||||
String url = "https://www.youtube.com/results"
|
String url = "https://www.youtube.com/results"
|
||||||
+ "?search_query=" + URLEncoder.encode(query, CHARSET_UTF_8)
|
+ "?search_query=" + URLEncoder.encode(query, CHARSET_UTF_8)
|
||||||
+ "&page=" + Integer.toString(page)
|
+ "&page=" + Integer.toString(page + 1)
|
||||||
+ "&filters=" + "video";
|
+ "&filters=" + "video";
|
||||||
|
|
||||||
String site;
|
String site;
|
||||||
|
Loading…
Reference in New Issue
Block a user