mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-18 10:28:29 +00:00
[ie/rule34video] Fix finding the uploader
This commit is contained in:
parent
1a53a2eb63
commit
7b336d1e73
@ -88,8 +88,9 @@ def _real_extract(self, url):
|
|||||||
elif label == 'Artist':
|
elif label == 'Artist':
|
||||||
creators = list(map(clean_html, get_elements_by_class('item', col)))
|
creators = list(map(clean_html, get_elements_by_class('item', col)))
|
||||||
elif label == 'Uploaded by':
|
elif label == 'Uploaded by':
|
||||||
uploader = clean_html(get_element_by_class('name', col))
|
uploader_link = get_element_html_by_class('btn_link', col)
|
||||||
uploader_url = extract_attributes(get_element_html_by_class('name', col) or '').get('href')
|
uploader = clean_html(uploader_link)
|
||||||
|
uploader_url = extract_attributes(uploader_link or '').get('href')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
**traverse_obj(self._search_json_ld(webpage, video_id, default={}), ({
|
**traverse_obj(self._search_json_ld(webpage, video_id, default={}), ({
|
||||||
|
Loading…
Reference in New Issue
Block a user