From dca6384283a38d0b2db2b3bf2aaf68c2035abd95 Mon Sep 17 00:00:00 2001 From: Lev Plyusnin Date: Wed, 3 Jan 2024 15:05:08 +0700 Subject: [PATCH] Update README and fix IE documentation typo --- README.md | 7 ++++--- yt_dlp/extractor/common.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 74dfbb541..75946df24 100644 --- a/README.md +++ b/README.md @@ -1379,11 +1379,12 @@ Available for the media that is a track or a part of a music album: - `track` (string): Title of the track - `track_number` (numeric): Number of the track within an album or a disc - `track_id` (string): Id of the track - - `artist` (string): Artist(s) of the track - - `genre` (string): Genre(s) of the track + - `artists` (list): Artist(s) of the track + - `composers` (list): Composer(s) of the piece + - `genres` (list): Genre(s) of the track - `album` (string): Title of the album the track belongs to - `album_type` (string): Type of the album - - `album_artist` (string): List of all artists appeared on the album + - `album_artists` (list): List of all artists appeared on the album - `disc_number` (numeric): Number of the disc or other physical medium the track belongs to Available only when using `--download-sections` and for `chapter:` prefix when using `--split-chapters` for videos with internal chapters: diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 20015769d..d73c519b9 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -423,7 +423,7 @@ class InfoExtractor: track_id: Id of the track (useful in case of custom indexing, e.g. 6.iii), as a unicode string. artists: List of artists of the track. - composers: List of composers of the piece + composers: List of composers of the piece. genres: List of genres of the track. album: Title of the album the track belongs to. album_type: Type of the album (e.g. "Demo", "Full-length", "Split", "Compilation", etc).