lay295 / TwitchDownloader

Twitch VOD/Clip Downloader - Chat Download/Render/Replay
MIT License
2.69k stars 260 forks source link

Download Sub-Only VOD Chats #324

Open CarsonVB opened 2 years ago

CarsonVB commented 2 years ago

Checklist

Write stuff here

I saw that there's a field for OAuth tokens for sub-only vods, I assumed that the OAuth token could also be used to download videos/chats from unpublished vods(that you are the owner of), however it seems like this is not the case. I normally wouldn't mind too much since the twitch website allows me to download the videos of my unpublished vods, except it doesn't let me download chats in any way I can tell... Plus I much prefer being able to add everything into a queue like in TwitchDownloader

Is OAuth tokens only working for sub-only vods and not unpublished vods a limitation of the API, intentional design choice, or an oversight?

ScrubN commented 1 year ago

OAuth allows the downloading of subscriber only VODs if your account has access. Additionally, it technically also allows for downloading private VODs if your account has access.

OAuth is not utilized when downloading chats and probably never will be. Even the official Twitch player won't load chats on private VODs so it would likely would be pointless to add that functionality.

lay295 commented 1 year ago

Unless twitch changed something, there was no authentication needed to download a chat of a sub only VOD so I didn't add it.

What's the ID of the unpublished VOD?

ScrubN commented 1 year ago

Unless twitch changed something, there was no authentication needed to download a chat of a sub only VOD so I didn't add it.

What's the ID of the unpublished VOD?

I can confirm without a doubt that unpublished VODs require authentication for chat downloads, I tried it back in October. That VOD has since expired.

Here's another short unpublished VOD for you to verify, it should expire Jan 3rd 2023: 1608635792

Poilaucul commented 1 year ago

Can it use the token to download tchat from published VODs that are subscribers only?

ScrubN commented 1 year ago

So I was able to download the chat of a sub only VOD the other day. I'm wondering if you only cannot download chats from unpublished videos then.

ScrubN commented 11 months ago

Theft of open source projects is despicable. I don't want to see you here ever again.

Flwk commented 9 months ago

@ScrubN Hi, i found recently that there is some extension that allow to watch sub-only VOD without subscription.

Here is a link of the project : https://github.com/besuper/TwitchNoSub/tree/master

Do you think it's possible to use this method to your application ?

Thanks a lot for your works !