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

Wrong video is downloaded when providing cookies #11390

Closed
4 of 8 tasks
Kasher opened this issue Dec 8, 2016 · 0 comments
Closed
4 of 8 tasks

Wrong video is downloaded when providing cookies #11390

Kasher opened this issue Dec 8, 2016 · 0 comments

Comments

@Kasher
Copy link

Kasher commented Dec 8, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.12.01

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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:

**without cookies:** ./youtube-dl --no-playlist -f best[ext=mp4]/best https://www.facebook.com/23tv.tv/videos/1410156015691815 --verbose[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--no-playlist', u'-f', u'best[ext=mp4]/best', u'https://www.facebook.com/23tv.tv/videos/1410156015691815', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 2.7.6 - Linux-4.2.0-27-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: none
[debug] Proxy map: {}
[facebook] 1410156015691815: Downloading webpage
[facebook] 1410156015691815: Downloading webpage
[debug] Invoking downloader on u'https://video.fsdv1-1.fna.fbcdn.net/v/t43.1792-2/15375190_1138847202859652_5732552197829296128_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=a58c3fc289d234813427ab555d6ce367&oe=584978C2'
[download] Destination: נבואת הזעם של ד'ר שטייניץ #היום_לפנייובל שטייניץתיק תקשורת-1410156015691815.mp4
[download]  72.5% of 5.52MiB at  5.54MiB/s ETA 00:00^C


**with cookies:** ./youtube-dl --no-playlist -f best[ext=mp4]/best https://www.facebook.com/23tv.tv/videos/1410156015691815 --cookies /tmp/videos_cookies/tmp_cookies_f35f7870-bd37-11e6-836a-a1e965b899b2.tmp --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--no-playlist', u'-f', u'best[ext=mp4]/best', u'https://www.facebook.com/23tv.tv/videos/1410156015691815', u'--cookies', u'/tmp/videos_cookies/tmp_cookies_f35f7870-bd37-11e6-836a-a1e965b899b2.tmp', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 2.7.6 - Linux-4.2.0-27-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: none
[debug] Proxy map: {}
[facebook] 1410156015691815: Downloading webpage
[debug] Invoking downloader on u'https://video.fsdv1-1.fna.fbcdn.net/v/t43.1792-2/15357170_184330565370569_6814108899507961856_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=fa5c5666781d41d27887ac898c4545c1&oe=584981CE'
[download] Destination: Facebook video #1410156015691815-1410156015691815.mp4
[download]  21.7% of 18.46MiB at  5.74MiB/s ETA 00:02^C


Description of your issue, suggested solution and other information

Hey,

When I provide cookies to Youtube-dl and trying to download a video from Facebook, the wrong video is being downloaded.
When I don't provide any cookies, the proper video is being downloaded - but, of course, I'm unable to download private videos :(

As you can see in the example I attached, if I provide cookies I get some URL, and if I don't provide any cookies, I get a different URL. Needless to say that the video I'm trying to download is public, hence there shouldn't be any difference...

When I'm using my browser, it doesn't matter if I'm logged-in to Facebook or not, I always get the same video...

Any help would be appreciated. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant