iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.09k stars 1.78k forks source link

social blade integration #152

Closed xqk94524 closed 3 years ago

xqk94524 commented 6 years ago

https://socialblade.com/

maybe will be interesting have a littel integration with social blade even if just a link "See on Social Blade" like the "Watch video on YouTube" one

omarroth commented 6 years ago

Sounds good, does SocialBlade have a video page that Invidious should point to? All I see is a listing for videos as well as other information about the author.

xqk94524 commented 6 years ago

social blade just have infos about channels, youtube has info about each video some time ago, I think 2010~2012, but was removed gradually, and totally with the new youtube design

http://tubularinsights.com/youtube-statistics-competition/ (June 20, 2010)

image

with this add-on https://addons.mozilla.org/pt-BR/firefox/addon/switch-for-youtube/ is possible to see some stats of some videos, after switch to previously design (pt-br) image (pt-br) image

xqk94524 commented 6 years ago

for short, Social Blade just show channels statistics

omarroth commented 6 years ago

Looks like YouTube still provides them. Using this answer on SO, you can make a POST request to https://www.youtube.com/insight_ajax?action_get_statistics_and_data=1&v=AAAAAAAAAAA with body session_token=SESSIONTOKEN, which is very similar to how Invidious pulls comments, see here.

Example output: https://pastebin.com/ZUtKXqrZ

I'd be interested in providing this on the left side, similar to Genre, Views, etc.

omarroth commented 6 years ago

Would it make more sense to link on the /channel page since SocialBlade doesn't provide video info?

xqk94524 commented 6 years ago

yes. that was my point

xqk94524 commented 6 years ago

but I was seeing

In order to best scale our tracking to meet the needs of millions that use Social Blade, we pull data from YouTube's public API. This means that we're getting the same information you see on public YouTube channel pages, we just work to examine that data across multiple days and aggregate it into a display format that is useful to you.

https://socialblade.com/youtube/help

these are the same public info from YouTube API, Social Blade just make information gathering, and process data.

xqk94524 commented 6 years ago

I had suggested this because the information on the Invidious channel page are very poor in my view.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.