You are not logged in.

#1 2013-03-17 09:27:35

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

[Solved] Start YouTube with some particular language

Hi. If I start YouTube like this:

google-chrome --incognito https://www.youtube.com/

how do I specify some particular language of YouTube in this command? So that after Chrome is open and YouTube is shown, it already is set to some lang and I don't have to do that manually on the website every time.

Last edited by Mr. Alex (2013-03-17 15:58:47)

Offline

#2 2013-03-17 13:09:37

sdh
Member
Registered: 2013-03-17
Posts: 25

Re: [Solved] Start YouTube with some particular language

From preliminary testing, this seems to work: http://www.youtube.com/?hl=en&persist_hl=1, you can get your language token by looking at the request sent when language is changed by footer links. [Or post your language, and I'll find it out]

Last edited by sdh (2013-03-17 13:09:50)

Offline

#3 2013-03-17 15:58:34

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: [Solved] Start YouTube with some particular language

I wanted to make lang "US English" and location "Worldwide" but apparently without "persist_hl" it didn't quite work. Thanks, full command is

google-chrome --incognito 'https://www.youtube.com/?hl=en&persist_hl=1&gl=US'

and it gives me what I need.

Offline

#4 2013-03-17 17:51:01

sdh
Member
Registered: 2013-03-17
Posts: 25

Re: [Solved] Start YouTube with some particular language

Yay, my first solved thread! Glad to help smile

Offline

Board footer

Powered by FluxBB