Add channelId

This commit is contained in:
pluja 2020-09-10 02:32:40 +02:00
parent 0451f6c16e
commit cea9b63eca

View File

@ -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