diff --git a/.travis.yml b/.travis.yml index d66b06423..52483ec2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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-.+' + diff --git a/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeSearchEngine.java b/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeSearchEngine.java index 3eb8ffb14..ab815d9a1 100644 --- a/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeSearchEngine.java +++ b/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeSearchEngine.java @@ -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;