mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-27 23:40:30 +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 'it.unimi.dsi:fastutil-core:8.5.13'
|
||||||
implementation 'commons-codec:commons-codec:1.17.0'
|
implementation 'commons-codec:commons-codec:1.17.0'
|
||||||
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
|
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.github.FireMasterK:nanojson:9f4af3b739cc13f3d0d9d4b758bbe2b2ae7119d7'
|
||||||
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.2'
|
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.2'
|
||||||
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
|
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
|
||||||
|
@ -69,14 +69,14 @@ public class BgPoTokenProvider implements PoTokenProvider {
|
|||||||
}).join();
|
}).join();
|
||||||
|
|
||||||
if (poToken != null) {
|
if (poToken != null) {
|
||||||
return new PoTokenResult(visitorDate, poToken);
|
return new PoTokenResult(visitorDate, poToken, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @Nullable PoTokenResult getWebClientPoToken() {
|
public @Nullable PoTokenResult getWebClientPoToken(String videoId) {
|
||||||
try {
|
try {
|
||||||
return getPoTokenPooled();
|
return getPoTokenPooled();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
@ -86,8 +86,17 @@ public class BgPoTokenProvider implements PoTokenProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @Nullable PoTokenResult getAndroidClientPoToken() {
|
public @Nullable PoTokenResult getWebEmbedClientPoToken(String videoId) {
|
||||||
// TODO: allow setting from config maybe?
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public @Nullable PoTokenResult getAndroidClientPoToken(String videoId) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public @Nullable PoTokenResult getIosClientPoToken(String videoId) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user