[cleanup] See desc

* Remove struct from `embedthumbnail`
* Use bullet lists in readme where numbered list don't make sense
* Fix error introduced in 9c2b75b561 when `ie_result` is `None`
This commit is contained in:
pukkandan
2021-05-20 18:02:58 +05:30
parent 95131b2176
commit 28b0eb0f65
3 changed files with 20 additions and 21 deletions

View File

@@ -1188,7 +1188,7 @@ class YoutubeDL(object):
if result_type == 'video':
self.add_extra_info(ie_result, extra_info)
ie_result = self.process_video_result(ie_result, download=download)
additional_urls = ie_result.get('additional_urls')
additional_urls = (ie_result or {}).get('additional_urls')
if additional_urls:
# TODO: Improve MetadataFromFieldPP to allow setting a list
if isinstance(additional_urls, compat_str):