Build on code from PR #31631. - Add playlist info extractor to download playlists - Refactor code from suggestions by @dirkf