mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 20:29:36 +00:00
raise on playlist channel ID extraction error, #1008
This commit is contained in:
@@ -70,6 +70,9 @@ class YoutubePlaylist(YouTubeItem):
|
||||
print(f"{self.youtube_id}: thumbnail extraction failed")
|
||||
playlist_thumbnail = False
|
||||
|
||||
if not self.youtube_meta.get("channel_id"):
|
||||
raise ValueError("Failed to extract Channel ID for Playlist")
|
||||
|
||||
self.json_data = {
|
||||
"playlist_id": self.youtube_id,
|
||||
"playlist_active": True,
|
||||
|
||||
Reference in New Issue
Block a user