[youtube API independence] (+Required update:Videos Count & Age) #1452
Labels
Bug
Bug or required update after YouTube changes
Feature request
Wish or idea
good first issue
A GitHub standard for inviting (new) contributors *Congratulations in advance!*
help wanted
Just an old github standard we add automatically. (The team can remove it when working on it.)
List of tasks
Efficient to have a List for this (sub-)project. (Each task might be worth an extra thread.)
🧩Plan ready
Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe)
up-for-grabs
(a github standard for inviting new contributors) - Welcome! ♥
We need to reduce API usage (unless we apply for Youtube to grants us a better quota one day)
data requiring multiple request, can be cached and/or require the user to add their API Key
we can use "webscraping" like https://github.com/LuanRT/YouTube.js (youtube-dl & github/New Pipe ) ( and the wonderful https://github.com/sonigy/YCS ( in fact we should integrate all of his code, which comes under the MIT licence ❤🎉 @sonigy)
we can also use a 3rd party API: , https://api.invidious.io/ (NewLeaf)
Our existing API Features:
1. Video age(Converted from date):
Youtube shows the date on the same page, so we could just convert it mostly? (0 Api requests). Very many people use this Feature ( but i dont know why? - (Youtube shows now, when it is only a few minutes ago. (Else nobody needs to know the exact amount? Except when it is hours old, then youtube just shows the same day by default. (While with the API we could also tell "Daytime of upload" but thats would be of interest rarely ))
2. Channel video counter:
if users dont have an API Key nor us, this will require http requests, just to find out the amount of pages (slow).
(Or crowdsource the data or get it from another API)
Channel Info (on video page)
"with three switches:
Registry Date
"Views
" (or to be more accourate: "Views of other videos" (total minus current video) (matter for one-hit-wonders)Video count
" (must should come enabled for everybody who enabled the current feature. All 3 can be enabled for them, since many of them will like to check it out.)The text was updated successfully, but these errors were encountered: