mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 03:59:24 +00:00
better error message on sponsorblock fail
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user