derenrich / borked-bot

wikidata bot doing lots of disparate things
GNU General Public License v3.0
8 stars 2 forks source link

Add Verified status for YouTube accounts if they are #5

Open Ainali opened 3 years ago

Ainali commented 3 years ago

It would be great if the verified status for YouTube could be added in the same it is for Twitter (P1552:Q28378282). I can't find this in the API, but if one go to a channel page that is verified they have a div that creates this that it should be possible to check for. If it has <div class="badge badge-style-type-verified style-scope ytd-badge-supported-renderer" aria-label="Verified"> then it is verified, and if that div is not there, it is not.

derenrich commented 3 years ago

So I believe this was requested before. Unfortunately there isn't a clean way to do this via the API. For now I'm going to try to avoid web scraping (partly for efficiency, partly for safety and partly out of laziness).

If you want to contribute a PR that does this I'll take a look. For now I'll keep this on the back burner though.