1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 16:45:17 +00:00

[cleanup] linter, code formatting and readme

This commit is contained in:
pukkandan
2021-05-18 23:50:59 +05:30
parent 74e001af1d
commit 07cce701de
6 changed files with 21 additions and 23 deletions

View File

@ -554,6 +554,8 @@ class InfoExtractor(object):
self.initialize()
self.write_debug('Extracting URL: %s' % url)
ie_result = self._real_extract(url)
if ie_result is None:
return None
if self._x_forwarded_for_ip:
ie_result['__x_forwarded_for_ip'] = self._x_forwarded_for_ip
subtitles = ie_result.get('subtitles')