question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow specifying the location

See original GitHub issue

Describe your suggestion

The YouTube website allows you to specify the location, this allows you to get content from other regions than your current one. Things like trending is different in each region, so being able to specify a different region allows you to see different content.

Other details

The location is stored in the gl parameter, currently the library reads the value returned by YouTube in Session#getSessionData. However it should be possible just to override that value, like on the YouTube website.

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
absiduecommented, Dec 20, 2022

Closing this again as the changes have been made to the main branch

1reaction
absiduecommented, Dec 19, 2022

Ah on the website it’s probably set by your web browser, so it’ll be whatever languages you have configured in your web browser. If it gets ignored anyway for all of the requests, setting it to * is probably the best, as you said.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understand & manage your location when you search on ...
On your Android device, open the Settings app Settings . · Tap Location and then App permission. · Tap the app you use...
Read more >
SQL Server 2008 R2: 'CREATE/ALTER VIEW' does not allow ...
In my case I'm trying to run a script to create/alter a view in different database, so I'm using EXEC (...) to create...
Read more >
Allow specifying storage locations · Issue #597 - GitHub
Allow specifying the location as a (compile-time calculable) constant uint256 / bytes32 (see examples); Syntax-wise, appending at (<slot>) ...
Read more >
Decide whether to trust a database - Microsoft Support
To add a network location, in the right pane, select the Allow Trusted Locations on my network check box. Click Add new location....
Read more >
Changing Default Database File Locations in SQL Server
It's also important to note that storing your data and log files on the same disk is not a recommended practice. Let's update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found