diff --git a/archive/.log b/archive/.log index 743e92a..9690c8c 100644 Binary files a/archive/.log and b/archive/.log differ diff --git a/archive/dogzilar123/video/raw/LIVE_20230219_13h48m48s.ts b/archive/dogzilar123/video/raw/LIVE_20230219_13h48m48s.ts new file mode 100644 index 0000000..31326fb Binary files /dev/null and b/archive/dogzilar123/video/raw/LIVE_20230219_13h48m48s.ts differ diff --git a/twitch-archive.py b/twitch-archive.py index 4be768b..edc51d3 100644 --- a/twitch-archive.py +++ b/twitch-archive.py @@ -167,7 +167,7 @@ class TwitchArchive: if self.quality == 'audio_only': live_proc_path = os.path.join(self.video_path, "LIVE_" + live_raw_filename + ".mp3") - if (os.getenv("OAUTH-PRIVATE-TOKEN") != "" or os.getenv("OAUTH-PRIVATE-TOKEN") is not None or os.getenv("OAUTH-PRIVATE-TOKEN") != "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"): + if (os.getenv("OAUTH-PRIVATE-TOKEN") != "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"): auth = ['--twitch-api-header', 'Authorization=OAuth ' + os.getenv('OAUTH-PRIVATE-TOKEN')] else: auth = ''.split() self.sendNotif('Stream - ' + live_raw_filename, 'Streamer went live: ' + is_live["title"])