[cleanup] linter, code formatting and readme
This commit is contained in:
parent
74e001af1d
commit
07cce701de
6 changed files with 21 additions and 23 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue