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

User agent #2894

Closed
felixphew opened this issue May 11, 2014 · 4 comments
Closed

User agent #2894

felixphew opened this issue May 11, 2014 · 4 comments

Comments

@felixphew
Copy link

@felixphew felixphew commented May 11, 2014

What user agent does the client use? Also, would it be possible to change this via an option?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 11, 2014

--dump-user-agent for getting it:

youtube-dl --dump-user-agent
Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)

And --user-agent for setting it, although you should try to avoid changing it, since we only test it with the default. Why do you need it?

@jaimeMF jaimeMF closed this May 11, 2014
@felixphew
Copy link
Author

@felixphew felixphew commented May 11, 2014

Sometimes geoblocking can be bypassed with the right user agent string. Also, it can affect the default formats of video. Using Firefox was a good choice.
On 12 May 2014, at 7:49 am, Jaime Marquínez Ferrándiz notifications@github.com wrote:

--dump-user-agent for getting it:

youtube-dl --dump-user-agent
Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)
And --user-agent for setting it, although you should try to avoid changing it, since we only test it with the default. Why do you need it?


Reply to this email directly or view it on GitHub.

@4goettma
Copy link

@4goettma 4goettma commented Sep 11, 2018

Sometimes geoblocking can be bypassed with the right user agent string.

Quite interesting. Do you have examples for that? Couldn't find related information using Google.

@AnmolTomer
Copy link

@AnmolTomer AnmolTomer commented Apr 11, 2020

@felixphew I am running into a problem related to this. Could you please provide an example of a youtube-dl syntax with --user-agent flag being used. That would be really helpful. Thanks!

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
4 participants
You can’t perform that action at this time.