Closed ybd-project closed 3 months ago
Update: YunzheZJU/youtube-po-token-generator is the most promising so far.
Yangilanish: YunzheZJU/youtube-po-token-generator hozirgacha eng istiqbolli hisoblanadi.
Is there a better solution using oauth or is there any bugs with this method?
Is there a better solution using oauth or is there any bugs with this method?
There is also a way to use OAuth, but it is unclear whether this can be implemented in ytdl-core, so this will be investigated.
There is also a way to use OAuth, but it is unclear whether this can be implemented in ytdl-core, so this will be investigated.
After researching, we may be able to implement this by referring to LuanRT/YouTube.js. LuanRT/YouTube.js has very good implementation examples and can be based on them. (Do not import YouTube.js internally due to stability and performance issues.)
This issue is expected to be resolved and has been closed.
Details
@ybd-project/ytdl-core
allows the specification ofPoToken
andVisitorData
. But the only way to get these is as follows.PoToken
andVisitorData
from the body of the request to /youtubei/v1/playerIt is very difficult to do these things within ytdl-core and will degrade performance. Therefore, I would like to discussion here the automatic acquisition of
PoToken
andVisitorData
.