From 57d7dfd39e680cf4d98534740da9da4a02687fbe Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Thu, 16 Jan 2025 16:25:06 +0100 Subject: [PATCH] Revert "Create placeholder _extract_post on base InfoExtractor class" This reverts commit bc1aab0351ffc3ecd3b2e2677098b6635be0a564. --- yt_dlp/extractor/common.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index fa20e57d4..92ddad2b7 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -731,15 +731,6 @@ class InfoExtractor: self._downloader.write_debug( f'Using fake IP {self._x_forwarded_for_ip} ({country.upper()}) as X-Forwarded-For') - def _extract_post(self, *args, **kwargs): - """ - Extracts post data (in json format) for the given platform. - - Not all extractors will implement/require this method. - The method args and kwargs are up to the extractor to define as per what's needed for the given platform. - """ - raise NotImplementedError - def extract(self, url): """Extracts URL information and returns it in list of dicts.""" try: