mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #364] Is there a way to extract full description of a music video? #289
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ryq99 on GitHub (Mar 23, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/364
I'm extracting music data with .get_song(), I'm able to see the video description under result['microformat']['microformatDataRenderer']['description']. However, I found it's just the shortened description not the full one. Take Sunflower (Spider-Man: Into the Spider-Verse) as an example, the video id is 'ApXoWvfEYVU', I have the description as follows:
"description": "Own Spider-Man: Into the Spider-verse on Digital 2/26 and Blu-ray on 3/19 Blu-ray: http://sonypictures.us/ueaRau Digital: http://sonypictures.us/Wnbe3e "S...".
I'm wondering if there is a way to get the full description like we can get on the page by expanding it?
@vixalien commented on GitHub (Mar 24, 2023):
prettu sure that description is not exposed in youtube music, only in youtube
@ryq99 commented on GitHub (Mar 24, 2023):
Then I guess I will probably have to use the official Youtube API to get it, pretty sure it has the full description of videos. Thanks!
@sigma67 commented on GitHub (Mar 24, 2023):
Yes, this is not under our control. There's actually very little parsing happening for
get_song, the data is returned pretty much exactly as it is returned by the server:github.com/sigma67/ytmusicapi@19ad424e0e/ytmusicapi/mixins/browsing.py (L596-L615)