mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 08:19:57 +01:00
parent
b1cb0525ac
commit
57ebfca39b
@ -1471,8 +1471,12 @@ def add_default_extra_info(self, ie_result, ie, url):
|
|||||||
self.add_extra_info(ie_result, {
|
self.add_extra_info(ie_result, {
|
||||||
'webpage_url': url,
|
'webpage_url': url,
|
||||||
'original_url': url,
|
'original_url': url,
|
||||||
'webpage_url_basename': url_basename(url),
|
})
|
||||||
'webpage_url_domain': get_domain(url),
|
webpage_url = ie_result.get('webpage_url')
|
||||||
|
if webpage_url:
|
||||||
|
self.add_extra_info(ie_result, {
|
||||||
|
'webpage_url_basename': url_basename(webpage_url),
|
||||||
|
'webpage_url_domain': get_domain(webpage_url),
|
||||||
})
|
})
|
||||||
if ie is not None:
|
if ie is not None:
|
||||||
self.add_extra_info(ie_result, {
|
self.add_extra_info(ie_result, {
|
||||||
|
Loading…
Reference in New Issue
Block a user