From fdf89a1d3946002f14456a3c5b13f509358ab2a7 Mon Sep 17 00:00:00 2001 From: R0hanW <30849420+R0hanW@users.noreply.github.com> Date: Mon, 5 May 2025 15:43:55 -0400 Subject: [PATCH] Inline code Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> --- yt_dlp/extractor/playerfm.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/yt_dlp/extractor/playerfm.py b/yt_dlp/extractor/playerfm.py index a4819bdab6..39679fadb1 100644 --- a/yt_dlp/extractor/playerfm.py +++ b/yt_dlp/extractor/playerfm.py @@ -46,12 +46,6 @@ def _real_extract(self, url): video_id, url = self._match_valid_url(url).group('id', 'url') data = self._download_json(url + '.json', video_id) - title = data.get('title') - description = data.get('description') - duration = data.get('duration') - thumbnail = traverse_obj(data, ('image', 'url'), ('series', 'image', 'url')) - creators = [traverse_obj(data, ('series', 'author'))] - video_url = join_nonempty('https', self._search_regex(r'redirect.mp3/(.*)', data['url'], 'redirect'), delim='://') if not video_url: raise ExtractorError('URL to podcast not found', expected=True)