This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# A script to download chat from a Twitch VOD in SubRip (*.srt) format | |
# Chat will be downloaded all the way until it ends. | |
# | |
# Usage: TWITCH_CLIENT_ID=0123456789abcdef0123456789abcde twitch-vod-chat.py [video_id] [start] | |
# | |
# This script could break at any time, because Twitch's chat API is | |
# undocumented and likes to change at any time; in fact, this script was |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pysrt | |
import json | |
import sys | |
import functools | |
from urllib import request | |
import re | |
class LiveChat(): | |
def __init__(self, livechatJson, modOnly, max_comments_view_len=160, max_comments_per_view=4): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Straight Google | |
// @id straight_google_pokerface | |
// @version 1.17.14 | |
// @author Pokerface - Kevin | |
// @namespace in.co.tossing.toolkit.google | |
// @description Remove URL redirection from google products | |
// @license GPL v3 or later version | |
// @downloadURL https://userscripts.org/scripts/source/121261.user.js | |
// @updateURL https://userscripts.org/scripts/source/121261.meta.js |