File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
src/main/java/me/kavin/piped/utils Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff 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:5325dc927b6861cd02c68dcd8e9cddbc4cf753ef '
19+ implementation ' com.github.FireMasterK.NewPipeExtractor:NewPipeExtractor:aa40823e8b2f87c32ed244889c7a5542b9d820ec '
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'
Original file line number Diff line number Diff line change @@ -69,14 +69,14 @@ private PoTokenResult createWebClientPoToken() throws Exception {
6969 }).join ();
7070
7171 if (poToken != null ) {
72- return new PoTokenResult (visitorDate , poToken );
72+ return new PoTokenResult (visitorDate , poToken , null );
7373 }
7474
7575 return null ;
7676 }
7777
7878 @ Override
79- public @ Nullable PoTokenResult getWebClientPoToken () {
79+ public @ Nullable PoTokenResult getWebClientPoToken (String videoId ) {
8080 try {
8181 return getPoTokenPooled ();
8282 } catch (Exception e ) {
@@ -86,8 +86,17 @@ private PoTokenResult createWebClientPoToken() throws Exception {
8686 }
8787
8888 @ Override
89- public @ Nullable PoTokenResult getAndroidClientPoToken () {
90- // TODO: allow setting from config maybe?
89+ public @ Nullable PoTokenResult getWebEmbedClientPoToken (String videoId ) {
90+ return null ;
91+ }
92+
93+ @ Override
94+ public @ Nullable PoTokenResult getAndroidClientPoToken (String videoId ) {
95+ return null ;
96+ }
97+
98+ @ Override
99+ public @ Nullable PoTokenResult getIosClientPoToken (String videoId ) {
91100 return null ;
92101 }
93102}
You can’t perform that action at this time.
0 commit comments