1
0
mirror of https://github.com/TeamNewPipe/NewPipe/ synced 2024-12-26 08:52:57 +01:00

Google begins with page 1 so we add 1 to our page starting with 0

This commit is contained in:
Coffeemakr 2016-12-19 19:28:05 +01:00
parent dbb1f371b3
commit 83837bde11

View File

@ -53,7 +53,7 @@ public class YoutubeSearchEngine extends SearchEngine {
String url = "https://www.youtube.com/results"
+ "?search_query=" + URLEncoder.encode(query, CHARSET_UTF_8)
+ "&page=" + Integer.toString(page)
+ "&page=" + Integer.toString(page + 1)
+ "&filters=" + "video";
String site;