Skip to content

Commit

Permalink
fixed missing data error when using youtube ur
Browse files Browse the repository at this point in the history
  • Loading branch information
xnetcat committed Apr 22, 2023
1 parent 0cd5ca3 commit bfc3058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotdl/download/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def search_and_download(self, song: Song) -> Tuple[Song, Optional[Path]]:

# Check if song has name/artist and url/song_id
if not (song.name and (song.artists or song.artist)) and not (
song.url and song.song_id
song.url or song.song_id
):
logger.error("Song is missing required fields: %s", song.display_name)
self.errors.append(f"Song is missing required fields: {song.display_name}")
Expand Down

0 comments on commit bfc3058

Please sign in to comment.