diff --git a/app/build.gradle b/app/build.gradle index c2bceab9e..962704e51 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { applicationId "org.schabi.newpipe" minSdkVersion 19 targetSdkVersion 28 - versionCode 840 - versionName "0.18.4" + versionCode 850 + versionName "0.18.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true @@ -63,7 +63,7 @@ dependencies { exclude module: 'support-annotations' }) - implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.18.4' + implementation 'com.github.TeamNewPipe:NewPipeExtractor:fc465c8bf' testImplementation 'junit:junit:4.12' testImplementation 'org.mockito:mockito-core:2.23.0' diff --git a/app/src/main/java/org/schabi/newpipe/DownloaderImpl.java b/app/src/main/java/org/schabi/newpipe/DownloaderImpl.java index 7e4ac304e..0ae072c66 100644 --- a/app/src/main/java/org/schabi/newpipe/DownloaderImpl.java +++ b/app/src/main/java/org/schabi/newpipe/DownloaderImpl.java @@ -38,7 +38,7 @@ import okhttp3.ResponseBody; import static org.schabi.newpipe.MainActivity.DEBUG; public class DownloaderImpl extends Downloader { - public static final String USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0"; + public static final String USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0"; private static DownloaderImpl instance; private String mCookies; diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java index fcb3eafa7..bde6920d6 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java @@ -723,7 +723,7 @@ public class SearchFragment showError(getString(R.string.url_not_supported_toast), false))); return; } - } catch (Exception e) { + } catch (Exception ignored) { // Exception occurred, it's not a url } diff --git a/fastlane/metadata/android/en-US/changelogs/850.txt b/fastlane/metadata/android/en-US/changelogs/850.txt new file mode 100644 index 000000000..90f343f22 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/850.txt @@ -0,0 +1 @@ +Tn this release the YouTube website version was updated. The old website version is going to be discontinued in March and therefore you are required to upgrade NewPipe. \ No newline at end of file