diff --git a/youtube_dl/extractor/deezer.py b/youtube_dl/extractor/deezer.py index bf4204459f..d0e553f5ac 100644 --- a/youtube_dl/extractor/deezer.py +++ b/youtube_dl/extractor/deezer.py @@ -130,7 +130,7 @@ class DeezerAlbumIE(DeezerBaseInfoExtractor): 'age_limit': 16 if s.get('EXPLICIT_LYRICS') == '1' else 0, 'formats': formats, 'track': s.get('SNG_TITLE'), - 'track_number': int(s.get('TRACK_NUMBER')), + 'track_number': int_or_none(s.get('TRACK_NUMBER')), 'track_id': s.get('SNG_ID'), 'artist': album_uploader, 'album': album_title,