-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Video descriptions sometimes don't load. #3660
Comments
Observing this behavior as well on four public instances and with different, popular videos. |
Youtube has changed their description format ... Here's how it looks now: "attributedDescription": {
"content": "Save 10% and Free Worldwide Shipping at The Ridge by using offer code WAN at https://www.ridge.com/LINUS\n\nVisit https://www.squarespace.com/WAN and use offer code WAN for 10% off\n\nJumpCloud offers an Open Directory Platform that makes it possible to unify your technology stack across identity, access, and device management. Learn more here: https://lmg.gg/JumpCloud\n\nPodcast Download: TBD\n\nTimestamps: TBD",
"commandRuns": [
{
"startIndex": 77,
"length": 27,
"onTap": {
"innertubeCommand": {
"commandMetadata": {
"webCommandMetadata": {
"url": "https://www.youtube.com/redirect?q=https%3A%2F%2Fwww.ridge.com%2FLINUS&v=_FqH1rqQrQg",
"webPageType": "WEB_PAGE_TYPE_UNKNOWN",
"rootVe": 83769
}
},
"urlEndpoint": {
"url": "https://www.youtube.com/redirect?q=https%3A%2F%2Fwww.ridge.com%2FLINUS&v=_FqH1rqQrQg",
"target": "TARGET_NEW_WINDOW",
"nofollow": true
}
}
}
},
{
"startIndex": 112,
"length": 31,
"onTap": {
"innertubeCommand": {
"commandMetadata": {
"webCommandMetadata": {
"url": "https://www.youtube.com/redirect?q=https%3A%2F%2Fwww.squarespace.com%2FWAN&v=_FqH1rqQrQg",
"webPageType": "WEB_PAGE_TYPE_UNKNOWN",
"rootVe": 83769
}
},
"urlEndpoint": {
"url": "https://www.youtube.com/redirect?q=https%3A%2F%2Fwww.squarespace.com%2FWAN&v=_FqH1rqQrQg",
"target": "TARGET_NEW_WINDOW",
"nofollow": true
}
}
}
},
{
"startIndex": 343,
"length": 24,
"onTap": {
"innertubeCommand": {
"commandMetadata": {
"webCommandMetadata": {
"url": "https://www.youtube.com/redirect?q=https%3A%2F%2Flmg.gg%2FJumpCloud&v=_FqH1rqQrQg",
"webPageType": "WEB_PAGE_TYPE_UNKNOWN",
"rootVe": 83769
}
},
"urlEndpoint": {
"url": "https://www.youtube.com/redirect?q=https%3A%2F%2Flmg.gg%2FJumpCloud&v=_FqH1rqQrQg",
"target": "TARGET_NEW_WINDOW",
"nofollow": true
}
}
}
}
],
"styleRuns": [
{
"startIndex": 77,
"length": 27,
"fontColor": 4278607828
},
{
"startIndex": 112,
"length": 31,
"fontColor": 4278607828
},
{
"startIndex": 343,
"length": 24,
"fontColor": 4278607828
}
]
} |
Another example, if needed: But it’s still working fine on other videos, like this one: |
Related: TeamNewPipe/NewPipeExtractor#953 |
As a workaround, I made a UserScript that gets the description from |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Thank you for reporting - I updated the script, and now it should work with Tampermonkey as well. I also fixed the bug that causes description to overlap with comments. |
This comment was marked as resolved.
This comment was marked as resolved.
With respect to gradockt's UserScript of Video Description which I have been testing and which now works on all instances, there maybe some further improvements that I would like to suggest if it is doable:-
|
Clickable links are possible to do, but it would require a bit of effort. Personally, I think that doing these changes not only may not be worth the gains (especially considering that this script is designed to become obsolete one day, hopefully soon), but also may require more effort than actually fixing this issue. Nevertheless, anyone who wants to implement hyperlinks is welcome to edit the script. That said, I hope that my UserScript is not too much of a distraction from the actual problem. This issue does not look too hard to fix - in fact, before creating the script I wanted to tackle it on my own, but quickly realized that trying to do so without knowing the language is pointless. Instead of focusing on improving the workaround, I strongly encourage to try to fix the main problem. I would also recommend moving the discussion related to my script to its comment section. |
This comment was marked as resolved.
This comment was marked as resolved.
|
@gardockt It works! Thank you! I just had to add a match line for my favorite instance ( URLs are in plain text, but they are complete, so it’s no big deal to select and open them with a right click → Go to “[URL]”. |
While I really like the dedication from the community for willing to offer donations towards fixing this issue, I would prefer to keep it on topic in order to help the developers to easily and quickly gather in this discussion the information needed to fix this issue. @LennyPenny We do have a bounty program: #1898 If you want to give another bounty, please contact me on these official invidious channels, and I'll add your bounty on the very first comment: |
#3701 should fix this |
Did this really solved this? I dont see any difference? |
What's the version shown at the bottom of the instance you're using? The fix has been merged less than a hour ago. Not all instances update that quickly. |
Ah yes your are correct, version used 2023.04.01-8db2a938. |
My favorite instance is updated every Sunday, so I’ll wait a bit before I can remove the user-script proposed by @gardockt. Thank you, @techmetx11 and @SamantazFox! o/ |
The bugfix is much appreciated. Thank you very much! |
I've noticed that on instances where the bug has been resolved, the userscript seemingly does nothing, so there's no harm in keeping it installed until you feel it's truly unnecessary. |
Still experiencing this on 2023.08.26-ac0c060 https://vid.puffyan.us |
which video ID? |
I was about to tell you that this affects any video, and then noticed that ublock origin out of all things is causing this. Some filterlist must be broken. Sorry for necrobumping. |
Please give the full URL. Can't replicate the issue for the moment. |
It was noticed that at random times and it is not clear from what situations, the descriptions for the video are not loaded, which leaves an empty field instead of the description.
Video example:
https://inv.odyssey346.dev/watch?v=mPypEpPB2UQ
Screenshot of what the video description field looks like at the moment:
However, at the same time, on YouTube, the descriptions are loaded as expected.
Bounties for fixing this issue:
send me a message from a mastodon account or email linked in your github profile linked to the commit once merged
Same as LennyPenny, happy to offer $5 too to have this fixed. Would pay with bitcoin
The text was updated successfully, but these errors were encountered: