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
YouTube: creator field sometimes wrong #3155
Comments
Also facing the same issue. Wondering if it has anything to do with the anti-adblock changes, since for me the problem begun on the same day I started seeing the error pages. Maybe just a coincidence... |
The proper creator is in the head's metadata as item prop's and in the application/ld+json. There is a note in the json translator at: YouTube has however changed their page layout, so the The current correct selector would be For application/ld+json, which the translator also parses, it should be noted that YT now has TWO such sections on the page, which might also cause some problems for the current translator.
This is likely a race condition in page loading, almost the entire page of YouTube is loaded via javascript these days and the async execution makes it so that not every |
I noticed that sometimes when saving YouTube videos on Desktop to Zotero, the
Creator
field is populated with the wrong channel name. I have traced this to the selectors for the author, which are#meta-contents #text-container .ytd-channel-name
and alternatively#text-container .ytd-channel-name
, and indeed there are many different matches for these, and one of them seems to get selected at random, but only in certain situations that I have not been able to reliably reproduce. When it happens, reloading the page and re-saving will use the correct channel metadata.The text was updated successfully, but these errors were encountered: