Merge branch 'coffeemakr-fix-yt-dublicated-result-page'
This commit is contained in:
commit
96291a8522
|
@ -8,7 +8,7 @@ android:
|
||||||
- build-tools-23.0.3
|
- build-tools-23.0.3
|
||||||
|
|
||||||
# The SDK version used to compile NewPipe
|
# The SDK version used to compile NewPipe
|
||||||
- android-24
|
- android-25
|
||||||
|
|
||||||
# Additional components
|
# Additional components
|
||||||
- extra-android-support
|
- extra-android-support
|
||||||
|
@ -33,3 +33,7 @@ before_script:
|
||||||
- adb shell input keyevent 82 &
|
- adb shell input keyevent 82 &
|
||||||
|
|
||||||
script: ./gradlew --info build connectedCheck
|
script: ./gradlew --info build connectedCheck
|
||||||
|
|
||||||
|
licenses:
|
||||||
|
- 'android-sdk-license-.+'
|
||||||
|
|
||||||
|
|
|
@ -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