The vod search website has also stopped working vod_search - Replit
Atleast for VODs, it still works for clips
I recommend running it from your system directly instead of using a replit machine to run it. It is almost always quicker to run and manipulate.
The reason why I excluded replit from the list of clients being updated is because I’ve been recently having issues building chat_reader with musl and replit’s machines don’t use the latest glibc (despite it being backwards compatible).
If someone wants to maintain this on my behalf, that would be appreciated, but I just don’t have the motivation to drastically change my tooling just to support a client that I never use.
I wouldn’t even mind working with the @admins to bring some basic functionality to allow you to search on bfforums.com directly through some minimal javascript implementation of chat_reader
send a pm with your inputs, I’m not getting anything from my end
why is the command line version way different than the replit version? I’m struggling to even understand how to do a proper input into the .exe version after reading through the thread multiple times and copying the commands… the replit version was much more intuitive
more features gives more complexity
- Download chat_reader.exe from google drive
- Open up a terminal/command prompt window (type
cmd
into your search bar on windows) - Open up file explorer and go to the folder where chat_reader was downloaded into
- Drag and drop the
chat_reader.exe
into the terminal window - Add this line after the whole chat_reader.exe path:
-f "(?i)(burp)" twitch channel --clips --vods alinity
The --clips
flag means: this will go through every clip from alinity’s channel, and print all the ones with ‘burp’ in the title.
Additionally, the --vods
flag means this will go through every vod on alinity’s channel and print out every entry in chat containing the word burp
To change the streamer you want to target, just change alinity
to something else, like mrbeast6000
The command before you press enter should look similar to
C:\Users\yourusername> C:\Users\yourusername\something\something\chat_reader.exe -f "(?i)(burp)" twitch channel --clips --vods mrbeast6000
I hope this cleared some things up, let me know if something is not working or needs explaining
There are better ways to do this on windows, but this is as simple as I could really make it
Also (in case you didn’t know already), you can use the up and down arrow keys to go through your command history and you can rereun previous commands (for example: you want to search through another streamer or you want to not look for clips).
What would be the proper syntax to use when trying to filter for comments that read “x/10” where x is a number?
In some of the streamers whose chats I use this tool on, people will often rate burps out of 10 in the chat and not necessarily write the word “burp” when it happens.
When I used the replit while it was still working, I could just write “/10” to filter for all comments containing this string of text, but with command line, doing this doesn’t yield any results. I can partially get around this by writing a specific number out of 10 (e.g., typing “8/10”), however, I’ve found that doing so for some reason misses some instances where someone wrote it.
So I’m wondering if there’s a good way to use one filter term to catch every instance of a rating like that without missing any.
chat_reader uses regular expression syntax for filtering output. The -f
/ --filter
flag allows you to specify one. In the examples I provided, I was using '(?i)(burp|belch)'
To help demystify some things: The (?i)
tells the matcher to enter case insensitive mode, so that letter case is not considered. The (burp|belch)
match both the words burp and belch. The |
allows you to separate matching expressions.
In this case, what want to do is add \d+/10
as a matching expression, which would basically match anything expression with 1 or more numerical digits, followed by a /10
For example: 3/10
or 100000/10
but not just /10
An example of a command using this would be:
chat_reader -f '(?i)(burp|belch|\d+/10)' twitch channel -v loltyler1
Understandable. I do hope there is someone with who is able/willing to get the replit working that be great, since I actually used it quite a bit lol
Yeah, I noticed that a few twitch streamers also stream on kick and it would be useful
This is a possibility in the near future
It would also be great if we could somehow search through vods of twitch streamers we’re subscribed to. I know that would involve some kind of authentication, but it’d be awesome
You can use this tool for YT live chats:
And this one for comments:
This already works without authentication
oh sorry, you’re right. I am confusing this thread with the VideoScan one, my bad!
I’m currently getting this error when using the tool on twitch channels:
thread ‘’ panicked at ‘called Result::unwrap()
on an Err
value: “Missing edges”’, src\main.rs:192:47
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
I’ve seen something similar pop up from time to time, but it usually managed to download the chat if I added the command a few more times. Doesn’t seem to work this time.
Looking through this right now.
The response I’m getting is:
{
"data": {
"user": {
"__typename": "User",
"clips": null,
"id": "38718052"
}
},
"errors": [
{
"message": "failed integrity check",
"path": [
"user",
"clips"
]
}
],
"extensions": {
"challenge": {
"type": "integrity"
},
"durationMilliseconds": 22,
"operationName": "ClipsCards__User",
"requestID": "01GZMBKZXFJMY74FAMHJGHEMJN"
}
}
]
Missing edges
So chances are there’s something new that Twitch is checking for in the headers
Update: Twitch is now requiring a new Client-Integrity
header, which is a hash of the client id, your IP address, as well as other unique identifiers. Sighs. This will probably take some work to figure out, so a fix probably won’t be out for a few days. At the moment, you are able to get around this by rebuilding the program and adding your own Client-Integrity
header with a valid id (you can get this by visiting twitch and looking at your browser requests) and adding that to the gql function I’ve written.
Yeah, it’s down for me too
At the moment I’ve been struck with a busy schedule. Possible around Thursday I can begin to look into Twitch’s changes with more detail. It looks fairly large as a number of twitch’s graphql has been requiring the integrity token to even function (and I’ve had a tough time getting a token from the integrity endpoint that is valid)