Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Failue to download YouTube video -- "Could not find JS function 'encodeURIComponent'" #18891
Comments
|
@RalphORama failed this step:
|
|
@carlbennett Mentioned issue does not provide verbose log as is requested and very few examples. Thanks. |
|
@RalphORama Okay what do you say about #18890 then? You should have tagged along examples and verbose logs to the #18873. |
|
@carlbennett thank you for your input, I'll wait and see what youtube-dl contributors say the issue was. I'm excited for a fix. |
|
Learn to search better. |
|
Someone already made a fix in that issue I linked. |
|
@carlbennett bug reports are neither the time nor place to flame other users. I appreciate your linking of other issues but I think your usefulness in this thread has reached its limit. |
|
@RalphORama "Usefulness" hasn't ended. Seriously, take a look at this guy's commit: |
|
I have the same problem: |
|
@carlbennett I appreciate Mr. Khang's fix much more than I appreciate your trolling in this thread. |
|
@RalphORama is the real troll here, @carlbennett is just following the repository's contributing guidelines unlike @RalphORama who makes duplicate issues and lies about searching for similar ones. There's a fix already, y'all calm down and go download your videos. |
|
@Ornosunite please keep comments related to the issue at hand. Thank you. |
|
I get identical results as cosynox. Running current version. Was copying files, and this died in the last two hours. |
|
Where can I find the mentioned fix? |
|
Could someone be a nice mate and compile a version for Windows for me? |
|
Please forgive me as I am not a coder. I am an end user who is curious. If someone might have the kindness to explain to me how I might update to the latest fixed version? ~# pip install --upgrade youtube-dl |
|
@scallywag41 there's no new release yet, simply a proposed fix. I assume a new version will be deployed on pip later this week. |
|
@RalphORama Thank you sir. I will keep an eye on the thread. Sorry if I've interrupted. I don't use git a great deal and so I hope I haven't broken any etiquette. |
|
Here is the one-liner fix for future visitors:
|
|
I have applied the fix that was proposed by carlbennet and it works for me very well. |
|
@dstftw Sorry, but this bug still persists in Windows version 2019.01.17. Here is the debug log: PS: I'm using http proxy service for downloading since I can't access youtube directly. The other videos without
|
|
Same, this persists for me as well on Windows version 2019.01.17 |
|
These settings used in
Dunno, but signing in (cf. Maybe try deleting that whole thing, not sure if this makes any difference. |
|
@Hrxn I've tried PS: It seems you are not using Windows version PS2: Please try with the same Format settings |
Fixes an issue with youtube, see ytdl-org/youtube-dl#18891
Fixes an issue with youtube, see ytdl-org/youtube-dl#18891 (cherry picked from commit a1169af)
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.01.16. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
It appears that I cannot download YouTube videos. I've attempted with the following links, but receive the error
Could not find JS function 'encodeURIComponent'with every attempt. This issue was brought up by a friend who is experiencing the same problem.However, I am able to download the following videos:
I'm not sure what the difference is between them, but the first five don't work and the last five do. Any help would be appreciated.