1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01:00

Coding convention

This commit is contained in:
Lucas 2019-08-19 00:37:51 +02:00
parent 4d3c82222c
commit fe7d38c793

View File

@ -130,7 +130,7 @@ def _real_extract(self, url):
'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,