1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-20 17:17:19 +01:00

Merge branch 'coffeemakr-fix-yt-dublicated-result-page'

This commit is contained in:
Christian Schabesberger 2016-12-21 20:56:40 +01:00
commit 96291a8522
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,7 @@ android:
- build-tools-23.0.3
# The SDK version used to compile NewPipe
- android-24
- android-25
# Additional components
- extra-android-support
@ -33,3 +33,7 @@ before_script:
- adb shell input keyevent 82 &
script: ./gradlew --info build connectedCheck
licenses:
- 'android-sdk-license-.+'

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;