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

Passing cookie to monitor Youtube page #10

Open
glubsy opened this issue Jan 16, 2021 · 3 comments
Open

Passing cookie to monitor Youtube page #10

glubsy opened this issue Jan 16, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@glubsy
Copy link

glubsy commented Jan 16, 2021

Would it be possible to pass a (youtube) cookie to curl in order to monitor potential private live streams (restricted to paying members for example)?

From the git logs I noticed there was a "cookie" argument at some point but got removed?

I know it's possible to pass cookie to youtube-dl from #3 but is it supposed to work for monitoring?

Sorry if I sound a bit confused, just tried fiddling with the script but got nowhere so far, my $METADATA_CURL_RAW is empty due to some parsing error. Still investigating.

Edit: actually my question probably entails more work than I anticipated, since the private streams never appear on the channel/live endpoint, only in the channel/community one.

It occurs to me that youtube-dl should be able to do that already, especially by using the download-archive feature which keeps track of new videos from a playlist.

@herowinb
Copy link

Some membership stream are no archived (Karaoke, Sing or Minecraft) and this will not automatically update/ appear in Member-only video playlist. So get link from playlist is not helpful.

@glubsy
Copy link
Author

glubsy commented Apr 22, 2021

I wrote my own script to monitor a (Youtube) channel and download live stream. It monitors both channel/community and channel/videos endpoints for active live streams.

@sparanoid
Copy link
Owner

Technically you have to monitor /community for member-only content. I don't have enough samples and time to catch this type of videos.

The current workaround is getting the video ID manually or you can try @glubsy's solution.

@sparanoid sparanoid added the enhancement New feature or request label Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants