Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load subscription videos, not channels #191

Closed
alekksander opened this issue Mar 4, 2018 · 7 comments
Closed

load subscription videos, not channels #191

alekksander opened this issue Mar 4, 2018 · 7 comments

Comments

@alekksander
Copy link

please let us see newest videos from our channels as seen on:
https://www.youtube.com/feed/subscriptions

@trizen
Copy link
Owner

trizen commented Mar 4, 2018

Since YouTube API v3, subscription videos are no longer provided by YouTube through their API.

See also: https://stackoverflow.com/questions/19640796/retrieving-all-the-new-subscription-videos-in-youtube-v3-api

A somewhat equivalent feature (but very inefficient) is currently implemented in the CLI version only:

youtube-viewer -SV

@vanyasem
Copy link

It doesn't matter that it's inefficient. What matters is that it's there. I vote for it to be added in the GUI version.

@TheBready
Copy link

I made me a .desktop with youtube-viewer -SV -A -f, but it seems some videos are missing. Only the newest video of a channel is listed.
How can I add them all?
Is there a way to mark them as viewed on youtube?

@Jack-O-Brian
Copy link

I made me a .desktop with youtube-viewer -SV -A -f, but it seems some videos are missing. Only the newest video of a channel is listed.
How can I add them all?
Is there a way to mark them as viewed on youtube?

Second I'm having the same issue. I'll try to input subscription number using -SV 2 or -SV:2 but it won't work. I wish there was an example of how to run both -SV and -S, but I couldn't find it

@IvyCox
Copy link

IvyCox commented Jul 19, 2019

@trizen, can your make sort subscriptions by upload?
Or is there a way to use "unread"? (I don't know what it's and man youtube-viewer didn't help) If yes, than how.
And how does the command youtube-viewer -SV, why not all videos in the list? For example, some video uploaded 25 minutes ago and it's not listed. Or there is no video between the videos..

(via Google Translate)

UPD:
Telegram @youtube can in RSS feed. And youtube-viewer?

@trizen
Copy link
Owner

trizen commented Aug 1, 2019

@IvyCox To see how -SV works under the hood, take a look here.

It uses the subscriptions_order config-option, which can have either one of the following values:

  • alphabetical – Sort alphabetically.
  • relevance – Sort by relevance.
  • unread – Sort by order of activity.

(see also: https://developers.google.com/youtube/v3/docs/subscriptions/list)

It then gets the list of subscribed channels in the sorted order specified above. Then for each channel, it gets the newest uploaded video and checks if it's recent enough (less than 3 days old).

Once enough recent videos are collected (at most 50, where the value is given by --results=n), these are the subscription videos.

As it can be seen, in most cases, not all the subscribed channels are checked. That would take a very long time.

Therefore, some videos may be missing. Also if a channel uploaded more than two videos in the last 3 days, only the most recent one is shown.

@trizen trizen mentioned this issue Feb 12, 2020
@TheBready
Copy link

Is there a solution available to list all new videos yet?

@trizen trizen closed this as completed in 6137ee3 Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants