diff --git a/yt_dlp/extractor/zdf.py b/yt_dlp/extractor/zdf.py index e763500946..4450ad1c22 100644 --- a/yt_dlp/extractor/zdf.py +++ b/yt_dlp/extractor/zdf.py @@ -449,9 +449,6 @@ class ZDFChannelIE(ZDFBaseIE): document_id = self._search_regex( r'docId\s*:\s*(["\'])(?P(?:(?!\1).)+)\1', webpage, 'document id', group='doc_id') - main_video = None - playlist_videos = [] - data = self._download_v2_doc(document_id) main_video = traverse_obj(data, (