# Is there a way to access the raw chat text of a Twitch clip?

**URL:** <https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313>\
**Category:** Chat and IRC\
**Created:** [August 24, 2018, 2:29am UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313 "2018-08-24T02:29:19Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin-Do](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kevin-do/32/5031_2.png) [@Kevin-Do](https://staging-discuss.dev.twitch.com/u/Kevin-Do)\
**Post date:** [August 24, 2018, 2:29am UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/1 "2018-08-24T02:29:19Z")

</div>

I’d like to access the raw text of a Twitch clip or a VOD within a given timeframe, can anyone recommend a way to accomplish this?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [August 24, 2018, 8:11am UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/2 "2018-08-24T08:11:46Z")

</div>

There are no official end points for this. And I don’t have any unofficial notes on the subject. I’d have to go digging myself to see how it behaves.

---

<div class="post-metadata">

**Author:** ![OgulcanCelik](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/ogulcancelik/32/5114_2.png) [@OgulcanCelik](https://staging-discuss.dev.twitch.com/u/OgulcanCelik)\
**Post date:** [September 1, 2018, 1:25pm UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/3 "2018-09-01T13:25:00Z")

</div>

I’m pretty new on the web development, however, I dig some info on the network tab of chrome and json Twitch responses about clip chat. I realized that it actually get clips from past broadcasts by responding with the clip’s offseconds and then It gets comments from there. Any Idea how can I reach text of a past broadcast?

---

<div class="post-metadata">

**Author:** ![OgulcanCelik](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/ogulcancelik/32/5114_2.png) [@OgulcanCelik](https://staging-discuss.dev.twitch.com/u/OgulcanCelik)\
**Post date:** [September 4, 2018, 2:51pm UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/4 "2018-09-04T14:51:44Z")

</div>

I figured it out. You can simply get the clip data which has the clip’s start offset and the duration. You can also gather broadcast data so it’s possible to parse clip’s chat data from it. If anyone interested, I can publish a github for it.

---

<div class="post-metadata">

**Author:** ![Kevin-Do](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kevin-do/32/5031_2.png) [@Kevin-Do](https://staging-discuss.dev.twitch.com/u/Kevin-Do)\
**Post date:** [September 5, 2018, 2:54am UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/5 "2018-09-05T02:54:26Z")

</div>

Hi that would be amazing! Please do!

---

<div class="post-metadata">

**Author:** ![OgulcanCelik](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/ogulcancelik/32/5114_2.png) [@OgulcanCelik](https://staging-discuss.dev.twitch.com/u/OgulcanCelik)\
**Post date:** [September 7, 2018, 7:59pm UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/6 "2018-09-07T19:59:02Z")

</div>

Here is the github repo:

> **[GitHub - OgulcanCelik/twitch-clip-chat: Simple python script to download chat...](https://github.com/OgulcanCelik/twitch-clip-chat)**
>
> Simple python script to download chat log of the given Twitch clip - GitHub - OgulcanCelik/twitch-clip-chat: Simple python script to download chat log of the given Twitch clip

It’s my first published project and I learned python in the process. So if you face any problems, let me know!

---

<div class="post-metadata">

**Author:** ![freaktechnik](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/freaktechnik/32/1284_2.png) [@freaktechnik](https://staging-discuss.dev.twitch.com/u/freaktechnik)\
**Post date:** [September 11, 2018, 10:59pm UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/7 "2018-09-11T22:59:46Z")

</div>

I’ve been doing this for quite some time for any VOD: [https://github.com/freaktechnik/twitch-chatlog](https://github.com/freaktechnik/twitch-chatlog)

To get the info what point in a VOD the clip is made from you currently need to make your own api requests that my project doesn’t handle, but they’re mentioned in [https://github.com/freaktechnik/twitch-chatlog/issues/69](https://github.com/freaktechnik/twitch-chatlog/issues/69)

---

<div class="post-metadata">

**Author:** ![OgulcanCelik](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/ogulcancelik/32/5114_2.png) [@OgulcanCelik](https://staging-discuss.dev.twitch.com/u/OgulcanCelik)\
**Post date:** [September 14, 2018, 8:22pm UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/9 "2018-09-14T20:22:16Z")

</div>

Hey, I found your repo when I was looking for how to get a clip’s chat data. Also, I’m the one who reported that logic problem, glad to see you here hehe. After searching a bit, I decided to make my own for clip chat, since yours was really good at VOD stuff. So I wrote it in Python, not js though. It’s pretty easy after learning how API requests and specifically Twitch’s work.

---

<div class="post-metadata">

**Author:** ![garuna](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/garuna/32/5105_2.png) [@garuna](https://staging-discuss.dev.twitch.com/u/garuna)\
**Post date:** [September 14, 2018, 9:20pm UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/10 "2018-09-14T21:20:20Z")

</div>

> [@OgulcanCelik](#):
>
> ,

may I also request to withdraw my post 😛 , was unable to find such feature as it required moderators right

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [October 14, 2018, 9:20pm UTC](https://staging-discuss.dev.twitch.com/t/is-there-a-way-to-access-the-raw-chat-text-of-a-twitch-clip/17313/11 "2018-10-14T21:20:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
