mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-04 04:07:26 +00:00
[extractor/generic] Clarify generic extraction warning
This commit is contained in:
parent
0072afca8e
commit
2fece970b8
1 changed files with 4 additions and 4 deletions
|
@ -977,10 +977,10 @@ def _real_extract(self, url):
|
||||||
'upload_date': upload_date,
|
'upload_date': upload_date,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (not self._downloader.params.get('test', False) and
|
if not self._downloader.params.get('test', False) and not is_intentional:
|
||||||
not is_intentional and
|
force = self._downloader.params.get('force_generic_extractor', False)
|
||||||
not self._downloader.params.get('force_generic_extractor', False)):
|
self._downloader.report_warning(
|
||||||
self._downloader.report_warning('Falling back on generic information extractor.')
|
'%s on generic information extractor.' % ('Forcing' if force else 'Falling back'))
|
||||||
|
|
||||||
if not full_response:
|
if not full_response:
|
||||||
request = compat_urllib_request.Request(url)
|
request = compat_urllib_request.Request(url)
|
||||||
|
|
Loading…
Reference in a new issue