I am using the following code to grab screenshots from twitch streamers. The code works well:
import streamlink, os from twitch import TwitchClient client =