Merge pull request #364 from TeamPiped/npe-parallelization

Update NPE fork and parallelize StreamExtraction requests
This commit is contained in:
Kavin 2022-09-07 13:04:03 +05:30 committed by GitHub
commit 3078b6073f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ dependencies {
implementation 'it.unimi.dsi:fastutil-core:8.5.8'
implementation 'commons-codec:commons-codec:1.15'
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
implementation 'com.github.FireMasterK.NewPipeExtractor:NewPipeExtractor:10212f94abd1f310989633534280bdf6c91e64ec'
implementation 'com.github.FireMasterK.NewPipeExtractor:NewPipeExtractor:d3706d852d6711e2dfccb87b5885638c6981dca8'
implementation 'com.github.FireMasterK:nanojson:5df3e81e87b791d01f132f376e4b7d4a1780f346'
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.4'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.4'

View File

@ -25,6 +25,7 @@ public class Main {
public static void main(String[] args) throws Exception {
NewPipe.init(new DownloaderImpl(), new Localization("en", "US"));
YoutubeStreamExtractor.forceFetchAndroidClient(true);
YoutubeStreamExtractor.forceFetchIosClient(true);
Injector.useSpecializer();