Add channelId
This commit is contained in:
parent
0451f6c16e
commit
cea9b63eca
@ -68,7 +68,7 @@ def get_video_owner_info(data):
|
|||||||
ownerInfo = {
|
ownerInfo = {
|
||||||
"thumbnail": ownerItem['thumbnail']['thumbnails'][0]['url'],
|
"thumbnail": ownerItem['thumbnail']['thumbnails'][0]['url'],
|
||||||
"username": ownerItem['title']['runs'][0]['text'],
|
"username": ownerItem['title']['runs'][0]['text'],
|
||||||
"id": "#",
|
"id": ownerItem['title']['runs'][0]['navigationEndpoint']['browseEndpoint']['browseId'],
|
||||||
"suscriberCount":ownerItem['subscriberCountText']['runs'][0]['text']
|
"suscriberCount":ownerItem['subscriberCountText']['runs'][0]['text']
|
||||||
}
|
}
|
||||||
return ownerInfo
|
return ownerInfo
|
||||||
|
Reference in New Issue
Block a user