Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube Engine - base.js update #14

Closed
EhsanFox opened this issue Apr 7, 2023 · 1 comment
Closed

YouTube Engine - base.js update #14

EhsanFox opened this issue Apr 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@EhsanFox
Copy link
Owner

EhsanFox commented Apr 7, 2023

It appears, trying to fetch data using ytdl-core throws an error,
error is based on a YouTube Player update, in which they changed a URL,

Issue is open in node-ytdl-core Github repo at #1197
a temporary fix is also provided in the issue page, however,

The package will be waiting for the patch to release which possibly is at #1203

Error:

evalmachine.<anonymous>:25
[])||(0,c[2])((0,c[45])((0,c[25])(c[21],c[55],(0,c[11])()),c[2],(0,c[86])(c[55],c[53]),c[13],c[77],c[27]),c[52],c[62],c[74]),1==c[43]&&((0,c[45])((0,c[2])((0,c[13])(c[65+Math.pow(3,2)%391],c[85]),c[78],c[35],c[68]),c[2],((0,c[76])(c[3],c[77]),c[40])(c[77]),c[40],c[87]),1)||(((((0,c[13])(c[87],c[65]),c[52])(c[46],c[Math.pow(5,3)%149+-51]),c[47])(c[63],c[1]),c[62])(c[50],c[18]),c[28])(c[56],c[50])};lma(ncode);
                                                                                                                                                                                                                                                                                                                                                                                                              ^

SyntaxError: Missing catch or finally after try
    at new Script (node:vm:100:7)
    at Object.exports.decipherFormats (/workspaces/backend/node_modules/ytdl-core/lib/sig.js:116:51)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at exports.getInfo (/workspaces/backend/node_modules/ytdl-core/lib/info.js:401:17)
@EhsanFox EhsanFox changed the title ytdl-core - base.js update YouTube Engine - base.js update Apr 7, 2023
@EhsanFox EhsanFox self-assigned this May 16, 2023
@EhsanFox EhsanFox added the bug Something isn't working label May 16, 2023
@EhsanFox
Copy link
Owner Author

fixed on last commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant