From 71c441d871e3d1c6f541ef3a632350592869b233 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 4 Apr 2022 23:24:51 +0700 Subject: [PATCH] better error message on sponsorblock fail --- tubearchivist/home/src/index/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/src/index/video.py b/tubearchivist/home/src/index/video.py index bac9e30..559ad2c 100644 --- a/tubearchivist/home/src/index/video.py +++ b/tubearchivist/home/src/index/video.py @@ -457,7 +457,7 @@ class YoutubeVideo(YouTubeItem, YoutubeSubtitle): print(f"{self.youtube_id}: get sponsorblock timestamps") response = requests.get(url) if not response.ok: - print(f"{self.youtube_id}: failed to get sponsorblock data") + print(f"{self.youtube_id}: sponsorblock failed: {response.text}") return self.json_data["sponsorblock"] = response.json()