Comments (6)
Yep. This is definitely on the to-do list, but thanks for putting it here so I can track it better.
Something to keep in mind is that the Most Popular section isn't the same as YouTube's "Trending" section. Whatever ends up on that page will always be different to what FreeTube shows.
The way that the Most Popular section works is that it grabs the most liked videos out of the list of videos that were uploaded in the past 2 days. This is similar to how SkyTube does their Most Popular section and I used that while I made the feature. The result is that both apps should show similar results for that section. I don't believe region determines what gets shown, but I'll play around with it and see if it changes.
As far as I know, the YouTube API has no way of grabbing what's on the "Trending" section, but I could be wrong. I'll definitely play around with region selection though, as I've seen this requested a couple of times already.
from freetube.
As far as I know, the YouTube API has no way of grabbing what's on the "Trending" section
https://stackoverflow.com/questions/30475309/get-youtube-trends-v3-country-wise-in-json
https://developers.google.com/youtube/v3/docs/videos/list#chart
from freetube.
I know that Minitube (another YouTube viewer) has this functionality.,, so I assume there is a way
I believe you could use the google top playlists - Not the trending.
https://www.youtube.com/playlist?list=PLrEnWoR732-BHrPp_Pm8_VleD68f9s14-
Here's mintube and the Google top playlist (there are other playlists of course) for comparison.
EDIT: This is part of #2
from freetube.
Although NewPipe is an Android app and taking in account that I don't know exactly how this feature should be developed, I would like to suggest you, @PrestonN, to take a look a how it avoid the restrictions by country.
Would be easier to develop a system that avoid this restriction or a system to select the country from where "you watch" the video? I understand that in the first case, what the system should do is: if in the country of origin is blocked, then set another country until the video will be available.
But, as I told you, I can think the theory but I don't know how to apply it :(
from freetube.
The method you described for bypassing region blocks is actually how Invidious works behind the scenes. It cycles through a list of proxies until it finds one with correct info.
There are two issues currently with this approach:
- Quickly determining where a video is unblocked, since YouTube will not provide a list of allowed regions unless you are requesting from one where a video is unblocked
- Finding a list of proxies that consistently work in various regions
from freetube.
This has been implemented. The user will be able to select their preferred region for viewing the Trending
section. Expect this to be included with the next release.
from freetube.
Related Issues (20)
- [Feature Request]: option to hide watched videos in channel view
- [Bug]: Live Videos Not Loading on VPN HOT 9
- [Feature Request]: Update Copyright HOT 1
- [Feature Request]: Change "Favorites" playlist title & icon to "Watch Later" HOT 3
- [Bug]: Pressing `i` doesn't exit from Picture-in-picture to normal window HOT 3
- [Feature Request]: indicate in the playlist list which playlists the video is already in HOT 1
- [Bug]: Dearrow titles with "force keep capitalization" markers are not cleaned
- [Bug]: App starts in fullscreen if you used fullscreen before quitting HOT 7
- [Feature Request]: Scrollbar starts too high
- [Feature Request]: Mark position when new videos start on the Subscription page
- [Bug]: Error on resizing window HOT 3
- [Feature Request]: Nordic base theme HOT 1
- [Feature Request]: Add save option to the video options HOT 2
- [Feature Request]: Subscribe to individual playlists/podcasts HOT 1
- [Bug]: YouTube history import instructions in the documentation are incorrect HOT 1
- [Bug]: Hardware video acceleration on Wayland HOT 1
- [Bug]: Refreshing home page creates error
- [Feature Request]: Make Default playback speed more tunable
- [Feature Request]: Make player progress bar always visible in fullscreen HOT 5
- [Question]: import/export format HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freetube.