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.
youtube-dl fails to download Facebook video on one server while working fine on the other for the same link #10846
Comments
|
Hello, i guess it's something related with permission ! like u can't see some videos if you are not joined to the group/page ! it's also the same rules for youtube-dl he download videos that only visible to all public maybe if there is any possibility to use username:password in youtube-dl i guess u will be able to download more videos ! |
|
@yaccz I don't think that is the case here as it works on another identical server. Also, as you can see in my dump, page is perfectly visible to youtube-dl (in attachments) so it should be able to parse video, but it is not parsing it. Clearly there is some sort of error here. I repeat, both machines are identical, one works and the other does not. |
|
Um, what is happening? How did I get here? |
|
@osimit in my case i can download the video are u sure that u have the last version of youtube-dl ! |
|
@yas9999 As you can see from my pasted output:
As I already said, I can download it too on another server, but on this particular one it is not downloading, and I am looking into how to track what might the issue be |
|
you have the problem as #1269 |
|
@yas9999 No, I do not, as you can see from the dump that I attached, Facebook sees the video (both dumps are in the .zip file that I attached ) and is perfectly able to download it on another server using the same configuration and same version. If the video was private, how did you download it, as you said that you were able to download it?
|
|
I haven't looked into details, but it looks like a slightly different facebook page layout. (different parameters in |
|
@yan12125 Seems so, any idea why that might happen? Maybe Facebook is gradually rolling some changes? Thought had crossed my mind, but I figured that since both servers are in Germany with same provider, they should see the changes at the same time. Might be wrong idea tho |
|
Facebooks often generate quite different HTML for the same URL, even on the same IP and the same browser, so it's likely that others can't reproduce the error. Dumped files are definitely help. Tthanks for providing them! |
|
No problem, hopefully this can be resolved quickly |
|
Thanks for the report. Please check whether 38588ab fixes the problem or not. |
|
Yeah, seems to be ok now. Thanks When can I expect it to be merged and available via --update ?
|
|
FYI: It's already on the master branch and will be included in the next version. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.10.02. 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:
Description of your issue, suggested solution and other information
First of all, youtube-dl is great piece of software and has worked flawlessly for a long time for me! Good job keeping up with ever changing sites! :)
I run youtube-dl on two different servers (both Ubuntu VPS from same provider) and one of them has recently stopped downloading facebook videos with the explanation above. The other one works nicely and without any errors. I have also used the --write-pages option to dump pages and inspect them, and I can see that dumped pages actually do contain the videos.
youtube-dl on both server is invoked exactly the same and it works on one, but does not work on other, without any clear explanation. I think it's important to clarify that this only happens to Facebook videos while Youtube still works.
Dumps are also attached (added .html for easier viewing)
dump.zip
Thank you and keep up the good work!