mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 09:52:50 +01:00
remove unnecessary var def
This commit is contained in:
parent
30647d27de
commit
8f95c7a3b1
@ -527,8 +527,7 @@ def extract_metadata(webpage):
|
||||
or get_first(post, (..., 'video', lambda k, v: k == 'owner' and v['name']))
|
||||
or get_first(post, ('node', 'actors', ..., {dict}))
|
||||
or get_first(post, ('event', 'event_creator', {dict})) or {})
|
||||
uploader_profile = get_first(post, ('attachments', ..., 'media', 'creation_story', 'comet_sections', 'actor_photo', 'story', 'actors', ..., {dict})) or {}
|
||||
profile_url = uploader_profile.get('profile_url')
|
||||
profile_url = get_first(post, ('attachments', ..., 'media', 'creation_story', 'comet_sections', 'actor_photo', 'story', 'actors', ..., 'profile_url')) or None
|
||||
uploader = uploader_data.get('name') or (
|
||||
clean_html(get_element_by_id('fbPhotoPageAuthorName', webpage))
|
||||
or self._search_regex(
|
||||
|
Loading…
Reference in New Issue
Block a user