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

Twitch.tv chat log download #11524

Closed
Rosuav opened this issue Dec 24, 2016 · 6 comments
Closed

Twitch.tv chat log download #11524

Rosuav opened this issue Dec 24, 2016 · 6 comments

Comments

@Rosuav
Copy link

@Rosuav Rosuav commented Dec 24, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.12.22

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


Description of your issue, suggested solution and other information

Twitch.tv now records the (text) chat alongside videos. I would like to be able to download a video and have the chat as some form of associated download - maybe subtitles or other annotations. A couple of examples:

https://www.twitch.tv/cookingfornoobs/v/83226931 - a short clip (made by the broadcaster; clips made by viewers don't have associated chat)
https://www.twitch.tv/lilbumblebear/v/109190561 - a full-length VOD (will eventually expire, presumably making this a dead link)

Chat emotes might be a bit problematic. I'm okay with them being included either way - in their textual form ("noobsLove"), or as links (https://static-cdn.jtvnw.net/emoticons/v1/109023/1.0).

@dstftw dstftw closed this in 264e77c Dec 24, 2016
@Rosuav
Copy link
Author

@Rosuav Rosuav commented Dec 24, 2016

Wow! You are FAST! Thank you!

Emotes come out in their text form ("noobsLove") and in a mapping {"77681":[[0,9]]}. I've no idea what that part means, but I can run with the text. Much appreciated!

@Gorrrg
Copy link

@Gorrrg Gorrrg commented Feb 25, 2017

So how do I get the chat now? I'm totally confused. When I download a Twitch VoD there is no chat to be found and there's no reference to any option in the README either.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Feb 25, 2017

@Gorrrg
Copy link

@Gorrrg Gorrrg commented Feb 25, 2017

Ah, I tried that out. But it seems it only download the first few messages. I remember something about the Twitch API only offering 5 second chunks of chat messages per request.

EDIT: it's a 30 second window https://discuss.dev.twitch.tv/t/getting-chat-replay-transcript/5295

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Feb 25, 2017

Could you open a new issue for incomplete messages?

@Gorrrg
Copy link

@Gorrrg Gorrrg commented Feb 25, 2017

Yep, I will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.