mirror of
https://github.com/ytdl-org/ytdl-nightly.git
synced 2024-12-26 14:53:05 +01:00
Remove debug prints
This commit is contained in:
parent
83317f6938
commit
165250ff5e
@ -442,14 +442,12 @@ class InfoExtractor(object):
|
||||
If there's no info available, return None
|
||||
"""
|
||||
if self._downloader is None:
|
||||
self.to_screen("no downloader")
|
||||
return None
|
||||
downloader_params = self._downloader.params
|
||||
|
||||
if downloader_params.get('twofactor', None) is not None:
|
||||
return downloader_params['twofactor']
|
||||
|
||||
self.to_screen("param is None")
|
||||
return None
|
||||
|
||||
# Helper functions for extracting OpenGraph info
|
||||
|
Loading…
Reference in New Issue
Block a user