mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-27 15:30:29 +05:30
fix: use latest NewPipe extractor version
This commit is contained in:
parent
cd76980334
commit
ebc52f1409
@ -16,7 +16,7 @@ dependencies {
|
||||
implementation 'it.unimi.dsi:fastutil-core:8.5.13'
|
||||
implementation 'commons-codec:commons-codec:1.17.0'
|
||||
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
|
||||
implementation 'com.github.FireMasterK.NewPipeExtractor:NewPipeExtractor:5325dc927b6861cd02c68dcd8e9cddbc4cf753ef'
|
||||
implementation 'com.github.FireMasterK.NewPipeExtractor:NewPipeExtractor:aa40823e8b2f87c32ed244889c7a5542b9d820ec'
|
||||
implementation 'com.github.FireMasterK:nanojson:9f4af3b739cc13f3d0d9d4b758bbe2b2ae7119d7'
|
||||
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.2'
|
||||
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
|
||||
|
@ -69,14 +69,14 @@ public class BgPoTokenProvider implements PoTokenProvider {
|
||||
}).join();
|
||||
|
||||
if (poToken != null) {
|
||||
return new PoTokenResult(visitorDate, poToken);
|
||||
return new PoTokenResult(visitorDate, poToken, null);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable PoTokenResult getWebClientPoToken() {
|
||||
public @Nullable PoTokenResult getWebClientPoToken(String videoId) {
|
||||
try {
|
||||
return getPoTokenPooled();
|
||||
} catch (Exception e) {
|
||||
@ -86,8 +86,17 @@ public class BgPoTokenProvider implements PoTokenProvider {
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable PoTokenResult getAndroidClientPoToken() {
|
||||
// TODO: allow setting from config maybe?
|
||||
public @Nullable PoTokenResult getWebEmbedClientPoToken(String videoId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable PoTokenResult getAndroidClientPoToken(String videoId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable PoTokenResult getIosClientPoToken(String videoId) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user