Fix wrong order of reqwest parameters.

This commit is contained in:
Kavin 2023-12-17 06:30:13 +00:00
parent f06ea8f93f
commit 1f1fef1644
No known key found for this signature in database
GPG key ID: 6E4598CA5C92C41F

View file

@ -42,7 +42,7 @@ public class Main {
Security.setProperty("crypto.policy", "unlimited"); Security.setProperty("crypto.policy", "unlimited");
Security.addProvider(new BouncyCastleProvider()); Security.addProvider(new BouncyCastleProvider());
ReqwestUtils.init(REQWEST_PROXY_USER, REQWEST_PROXY, REQWEST_PROXY_PASS); ReqwestUtils.init(REQWEST_PROXY, REQWEST_PROXY_USER, REQWEST_PROXY_PASS);
NewPipe.init(new DownloaderImpl(), new Localization("en", "US"), ContentCountry.DEFAULT, Multithreading.getCachedExecutor()); NewPipe.init(new DownloaderImpl(), new Localization("en", "US"), ContentCountry.DEFAULT, Multithreading.getCachedExecutor());
YoutubeStreamExtractor.forceFetchAndroidClient(true); YoutubeStreamExtractor.forceFetchAndroidClient(true);