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

Won't download facebook 1080p #11073

Closed
astandarduser opened this issue Oct 30, 2016 · 39 comments
Closed

Won't download facebook 1080p #11073

astandarduser opened this issue Oct 30, 2016 · 39 comments

Comments

@astandarduser
Copy link

@astandarduser astandarduser commented Oct 30, 2016

On firefox it gives the options for hd or sd no matter what (hd being 720). In chrome it has 360, 720, 1080 etc... But it only allows 1080 when logged in. Is there a way to get 1080p facebook videos with youtube-dl because the best it gets is 720, even on a 1080p video

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 30, 2016

Any example link?

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 30, 2016

https://www.facebook.com/cnn/videos/10155529876156509/
Please don't say I can just dl this elsewhere because I do not actually want this video, just want to be able to download in 1080 (also I am using the exe version of youtube-dl if that makes any difference)

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 30, 2016

That thread is closed and you said that you could only see 1080, which is probably because you are not logged in

@yan12125 yan12125 closed this in d9ee2e5 Oct 30, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 30, 2016

which is probably because you are not logged in

I don't want to leak my sensitive information to Google, so I don't use Facebook on Chrome/Chromium. With d9ee2e5 public 1080P videos are correctly detected, so I guess youtube-dl should also work for login-required ones.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 30, 2016

are you able to explain to me how to use it?

That's a change in youtube-dl. You can either wait for the next release or follow developer instructions for how to try the cutting-edge version.

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 30, 2016

Sorry for so many questions, but roughly how often do they update the exe, and will the update have the change you made with facebook.py?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 30, 2016

roughly how often do they update the exe

Usually no longer than one or two weeks

will the update have the change you made with facebook.py

Yes.

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 30, 2016

Thank you for the help :)

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 30, 2016

They released the update and it still didn't fix the issue
Here is an example 1080 video that I found which only downloads 720 https://www.facebook.com/dulcedelight/videos/1251846471504847/

@Hrxn
Copy link

@Hrxn Hrxn commented Oct 31, 2016

Where do you see the 1080p video there? Only with Facebook account? Because the browser also shows me just 720p..

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Yes you have to be logged in to see 1080, that is the case with many fb videos, and it is the reason why I posted the question

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 31, 2016

Still no 1080p with --username and --password?

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

what do you mean by that?

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

can you write the full command

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

I didn't know you could use your credentials with youtube-dl

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 31, 2016

Like this:

youtube-dl --username (your username) --password (your password) URL
@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Thanks so much, I will test it now

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Hmmmn, a few questions. Do I keep the brackets? Also on facebook do I use my email as the username? Also I tried (using email and pass) with and without brackets and it says no such option --password

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Never mind, you spelled password wrong

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

All that happens when I use login, is it gets the wrong video and it is still 720, (I used no brackets)

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

No matter what url I write from the page, it gets the same video

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

I tried logging in using the old youtube-dl before you made the change to the facebook.py and it got the right video but still 720

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 31, 2016

I got a Facebook account and watch this video in Chromium. It's still 720p:
facebook-720p

@Hrxn
Copy link

@Hrxn Hrxn commented Oct 31, 2016

Okay, tried it as well.. (Don't really use Facebook, but still have an old account)

Used my .netrc for credentials..

C:\Users\Hrxn>youtube-dl.exe -v -n -F --ignore-config "https://www.facebook.com/dulcedelight/videos/1251846471504847/"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-n', '-F', '--ignore-config', 'https://www.facebook.com/dulcedelight/videos/1251846471504847/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.10.31
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-82143-gbf14393, ffprobe N-82143-gbf14393
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
[facebook] 1251846471504847: Downloading webpage
[info] Available formats for 1251846471504847:
format code               extension  resolution note
1583686988324332ad        m4a        audio only [eng] DASH audio   49k , mp4a.40.29 (48000Hz)
1583686991657665vd        mp4        426x240    [eng] DASH video  267k , avc1.4d401e, video only
1583687101657654v         mp4        640x360    [eng] DASH video  500k , avc1.4d401e, video only
1583687631657601v         mp4        854x480    [eng] DASH video  774k , avc1.4d401e, video only
1583687544990943v         mp4        1280x720   [eng] DASH video 1442k , avc1.64001f, video only
dash_sd_src               mp4        unknown
dash_sd_src_no_ratelimit  mp4        unknown
dash_hd_src               mp4        unknown
dash_hd_src_no_ratelimit  mp4        unknown    (best)

C:\Users\Hrxn>

The video is 1280x720p btw...

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

It is 1080, see the image I posted, I download the 720 through youtubedl compare to the 1080 in chrome and there is visible difference
http://i.imgur.com/A3HU2zj.png

@Hrxn
Copy link

@Hrxn Hrxn commented Oct 31, 2016

They released the update and it still didn't fix the issue
Here is an example 1080 video that I found which only downloads 720 https://www.facebook.com/dulcedelight/videos/1251846471504847/

Okay, used Chrome to sign-in into my old Facebook account, here is what I see:
Imgur

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Your chrome is up to date?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 31, 2016

Your chrome is up to date?

From chrome://help/: Version 54.0.2840.71 (64-bit)

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Left is through chrome 1080, right is after youtube-dl 720

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Maybe facebook only allows 1080 in some countries I don't know

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 31, 2016

God knows. Only those who can watch 1080P are able to fix this.

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Thanks for the help by the way. Also, you may want to remove the change you made to facebook.py. It causes problems when you use login info

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

At least for me it did, worked with old youtube-dl

@Hrxn
Copy link

@Hrxn Hrxn commented Oct 31, 2016

Yeah, latest Chrome stable, of course..

Next two guesses would be:

  • Geo IP filter. Could be tested with VPN, just use the right exit
  • There are different tiers/categories of Facebook accounts ('Pro', Premier, VIP, god knows..)

Does anyone know anything about that?

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

Don't know about tiers but I created a facebook account with no info other than name like 10 minutes ago and I was able to see 1080, I think it is to do with location

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 31, 2016

Where are you?

@astandarduser
Copy link
Author

@astandarduser astandarduser commented Oct 31, 2016

new zealand

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.