derenrich / borked-bot Goto Github PK
View Code? Open in Web Editor NEWwikidata bot doing lots of disparate things
License: GNU General Public License v3.0
wikidata bot doing lots of disparate things
License: GNU General Public License v3.0
On the English Wikipedia, the infobox for Youtubers display a subscriber count and the number of channel views. But it looks like BorkedBot doesn't update the latter, when searching on WikiData it looks like channels either don't have this number at all or it's very outdated (multiple years).
When updating the subscriber count, we also have the number of channel views, it's given in the same API response (viewCount
). So it would be nice if we could update both at the same time. https://github.com/derenrich/borked-bot/blob/master/borked_bot/yt_follows/run.py#L124
I am playing around with outdoor gyms see Wikidata:WikiProject_Outdoor_Gyms
One user case I can see is to see what videos are connected to an outdoor gym
-->
Feature request: could we also get the account creating the video ? Best would be to match this account to a WIkidata account
Thanks
user Salgo60 on WD
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.
hey, will this bot add additional statements for youtube subscriber counts?
because it would be nice to have a record of subscribers through time like this:
https://www.wikidata.org/wiki/Q50821810
I document discographies on Wikidata and was wondering if your bot could add P1433 as a qualifier when adding data about YouTube videos.
It should do this because many times, digital music tracks on YouTube Music are republished as different Youtube videos (YouTube Music songs) in many releases and there should only be 1 item per track, so many videos (songs) get put under 1 track item when they are republished.
Example. This track was published in a 2 Singles and an EP. Because YouTube makes new videos for every track on the release (even though they are the same track), this has multiple videos.
I added the "published in" property to help distinguish which videos were part of which releases and was wondering if your bot could do this.
It could do this by using the YouTube API to search for the playlists (YouTube Music releases) this video ID is in and then checking if Wikidata has any items with that playlist ID. I always add the YouTube playlist ID to releases, so it should be able to find it. Then, it should add that item as a qualifier statement to the video with "published in" as it's property, just as I did.
It would be great if BorkedBot could update Twitch channel followers like it does for Youtube subscribers, since many Youtube channels also run a Twitch channel and vice versa. I'm thinking this would be Social Media Followers (P8687) for entities with Twitch channel ID (P5797).
If this sounds good to you, I'm willing to help with the code (I think! I'm very comfortable with Python and Kubernetes, it's WikiData I know nothing about, I will read through your other cronjobs to get an understanding of how the queries work).
Hi, it would be nice if update_most_recent_rank(item, prop_id, qual_id)
could handle P7452 by:
borked-bot/borked_bot/util/util.py
Lines 305 to 331 in d91f21d
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.