Skip to content

Commit 01ec37d

Browse files
authored
Merge pull request #827 from TeamPiped/npe-update
Update NewPipeExtractor
2 parents 6380cea + 91751fd commit 01ec37d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
implementation 'it.unimi.dsi:fastutil-core:8.5.13'
1717
implementation 'commons-codec:commons-codec:1.17.0'
1818
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
19-
implementation 'com.github.FireMasterK.NewPipeExtractor:NewPipeExtractor:d486c3f4220c5b3fd045e614cd1662cdee437d13'
19+
implementation 'com.github.FireMasterK.NewPipeExtractor:NewPipeExtractor:ad90a5aa9c8daa323c02e6ffd800fc1f02dbe72e'
2020
implementation 'com.github.FireMasterK:nanojson:9f4af3b739cc13f3d0d9d4b758bbe2b2ae7119d7'
2121
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.2'
2222
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'

src/main/java/me/kavin/piped/Main.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ public static void main(String[] args) throws Exception {
4444

4545
ReqwestUtils.init(REQWEST_PROXY, REQWEST_PROXY_USER, REQWEST_PROXY_PASS);
4646

47-
NewPipe.init(new DownloaderImpl(), new Localization("en", "US"), ContentCountry.DEFAULT, Multithreading.getCachedExecutor());
48-
YoutubeStreamExtractor.forceFetchAndroidClient(true);
49-
YoutubeStreamExtractor.forceFetchIosClient(true);
47+
NewPipe.init(new DownloaderImpl(), new Localization("en", "US"), ContentCountry.DEFAULT);
5048
YoutubeParsingHelper.setConsentAccepted(CONSENT_COOKIE);
5149

5250
// Warm up the extractor

0 commit comments

Comments
 (0)