Closed badDevelopper closed 2 months ago
my code is CommonJS, this in now an ES Module so ... :)
Or does the /old support all new functionality?
Doesn't it work with CommonJS? I think it should work...
my code is CommonJS, this in now an ES Module so ... :)
Or does the /old support all new functionality?
Yes. No problem since /old uses the same function to operate. However, /old will be removed in the future
for now it works, at least my scope of functionalities
Using /old? I would like to be able to use CommonJS without using /old for future use.
Yes, using /old it works.
I just need to figure out how to refresh the token for OAuth2
Using /old? I would like to be able to use CommonJS without using /old for future use.
Maybe this?
Are you using something like the following?
const ytdlCore = require("@ybd-project/ytdl-core")
Yes, using /old it works.
I just need to figure out how to refresh the token for OAuth2
OAuth2 refresh is automatically performed by ytdl-core.
Are you using something like the following?
const ytdlCore = require("@ybd-project/ytdl-core")
Yes
Are you using something like the following?
const ytdlCore = require("@ybd-project/ytdl-core")
Yes
That's why, starting with v5.1.0, ytdl-core no longer uses the default export, so you need to do the following.
const { YtdlCore } = require("@ybd-project/ytdl-core")
Are you using something like the following?
const ytdlCore = require("@ybd-project/ytdl-core")
Yes
That's why, starting with v5.1.0, ytdl-core no longer uses the default export, so you need to do the following.
const { YtdlCore } = require("@ybd-project/ytdl-core")
Works. Thnx a lot.
This issue was deemed resolved. If you have any questions, please create a new issue.
Quick check and I'm missing data for upcoming live events (example https://www.youtube.com/watch?v=PzfyPxadxVY) This lacks:
- videoDetails.isLiveContent
- videoDetails.liveBroadcastDetails
- videoDetails.videoId
- videoDetails.title
Thank you, this will help us improve v5.1.0.
Hello, I again miss the data in under:
videoDetails.liveBroadcastDetails
Has anything changed?
Describe the bug
Error: All player APIs responded with an error. (Clients: web_creator, ios, android) at _getBasicInfo (/home/container/node_modules/@ybd-project/ytdl-core/package/info.js:326:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async _getInfo (/home/container/node_modules/@ybd-project/ytdl-core/package/info.js:362:18) Emitted 'error' event on Client instance at: at emitUnhandledRejectionOrErr (node:events:402:10) at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
Node.js v20.16.0