fent / node-ytdl-core

YouTube video downloader in javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downloading way slower than usual

erturkdotgg opened this issue · comments

Ytdl core is working so slow since last 2 days. Its downloading files very very slow.

Many people are also experiencing same issue at the ytdl-core discord server. Need a fix right now.

commented

Também estou com o mesmo problema

Same for me...

We've been experiencing this issue for the past two days now.

This is happening to me too. Slow is kind of an understatement, it can take hours to download a video and a lot of times it'll just stop downloading all together.

same for me

same

Seeing problems with this too. My lambda functions are timing out.

I've picked up, in another project, that there is in the past 24 hours, a syntax error in extracting the n-transform function. You will always get very slow speeds without the n-transform working properly. Will try to trace the problem today.

ytdl-core downloading video very slowly. We are facing major issue for this. Does anyone fond any solution? It's taking hours to download. Please fix it. 🙏🏼

line 59 in sig.js

  if (functionName.includes('[')) functionName = utils.between(body, `${functionName.split('[')[0]}=[`, `]`);

needs to be

  if (functionName.includes('[')) functionName = utils.between(body, `var ${functionName.split('[')[0]}=[`, `]`);

Because if other functions end in the same character sequence it fails to find the correct function. In this case, the functionName was "ata" and there is a bunch of other functions called "Data"

Created PR #1242

lgtm, can we publish this to a new version?

@gatecrasher777 thank you. It works fine. Is there a way to incorporate your PR in the package.json of our projects? It seems that this great repo is no longer mantained...

  "dependencies": {
    "ytdl-core": "github:gatecrasher777/node-ytdl-core#master"
  }

@nextpier
Tested this and it seems to work.
May have to delete package-lock.json and node-modules folder.
Then run npm install.
Then revert back to version number if/when the PR is merged.

commented

This really worked, thank you very much.

Closed with the merge of #1242
let's say poorly maintained and not "no longer mantained" 😉