mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-31 12:32:27 +01:00
Revert "Create placeholder _extract_post on base InfoExtractor class"
This reverts commit bc1aab0351
.
This commit is contained in:
parent
bc1aab0351
commit
57d7dfd39e
1 changed files with 0 additions and 9 deletions
|
@ -731,15 +731,6 @@ class InfoExtractor:
|
||||||
self._downloader.write_debug(
|
self._downloader.write_debug(
|
||||||
f'Using fake IP {self._x_forwarded_for_ip} ({country.upper()}) as X-Forwarded-For')
|
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):
|
def extract(self, url):
|
||||||
"""Extracts URL information and returns it in list of dicts."""
|
"""Extracts URL information and returns it in list of dicts."""
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue