mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
_
-> urlh
This commit is contained in:
parent
f6f513fbea
commit
8c8a1c0956
@ -768,8 +768,8 @@ class InfoExtractor(object):
|
||||
if res is False:
|
||||
return res
|
||||
else:
|
||||
content, _ = res
|
||||
_.close()
|
||||
content, urlh = res
|
||||
urlh.close()
|
||||
return content
|
||||
|
||||
def _download_xml_handle(
|
||||
@ -811,8 +811,8 @@ class InfoExtractor(object):
|
||||
if res is False:
|
||||
return res
|
||||
else:
|
||||
content, _ = res
|
||||
_.close()
|
||||
content, urlh = res
|
||||
urlh.close()
|
||||
return content
|
||||
|
||||
def _parse_xml(self, xml_string, video_id, transform_source=None, fatal=True):
|
||||
@ -866,8 +866,8 @@ class InfoExtractor(object):
|
||||
if res is False:
|
||||
return res
|
||||
else:
|
||||
content, _ = res
|
||||
_.close()
|
||||
content, urlh = res
|
||||
urlh.close()
|
||||
return content
|
||||
|
||||
def _parse_json(self, json_string, video_id, transform_source=None, fatal=True):
|
||||
|
Loading…
Reference in New Issue
Block a user