Skip to content

ligerzero459/twitch-highlight-url-getter

Repository files navigation

twitch-highlight-url-getter

Retrieves a list of a user's highlight, archive, and upload urls, saving them to files for easy usage with Twitch Downloader

Requirements:

  • Node 20+

Env Vars/Config Options

  • Token (required): Access token for Twitch Helix API
  • Client Id (required): Client ID of app that generated the access token
  • Login (optional): User name to retrieve video links for. If not specified, API default to the account that generated the token

Usage:

Using this tool requires an access token and client id to access the Twitch API. You can obtain one using this tool. Select "Custom Scope" and then "Select All" at the bottom of the available token scopes.

You have two choices on how to use those with the tool:

  • Use .env_example to make your own .env and add the token, client id and login
    • Requires Node 20 to use
  • Use config.json_example to make your own config.json. Add token, client and login

Running

To run using .env (requires Node 20+)

node --env-file=.env index.js

To run using config.json

node index.js

Check the urls folder for the output. It will be split into three files for easy usage with Twitch Downloader

About

Retrieve list of Highlight/VOD/Archive Urls for Twitch user

Resources

Stars

Watchers

Forks

Packages

No packages published