Wikipedia:Bots/Requests for approval/YoutubeSubscriberBot


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

YoutubeSubscriberBot
Operator:

Time filed: 13:04, Wednesday, September 2, 2020 (UTC)

Function overview: This bot will automatically edit the page of YouTubers' pages with accurate subscriber information periodically.

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: https://github.com/TisTiller/WikipediaYoutubeSubscriptionBot

Links to relevant discussions (where appropriate): Non-controversial, maintenance edit.

Edit period(s): Daily or Weekly

Estimated number of pages affected: ~200 Current Pages: List of YouTubers

Namespace(s): Articles

Exclusion compliant (Yes/No): Yes

Function details: One (or two) purpose(s).

1: Periodically update the subscription counter for each youtubers' channel(s). Information requested directly from google using an API. Once per (day/week), the subscription counter will be updated by sending a request to google's YouTube Data V3 API containing the channel name determined manually *or* by the value(s) in the infobox. If data is retrieved, updated to fit. Contains a date of update.

2: Same as above but for views.

Discussion
Will the bot make an edit if the new figure is too close to the existing one (that is, will it "update" a figure of 2,000,000 to 2,001,000)? A daily update on any article will clutter the page history and would be certainly undesirable. IMO the bot shouldn't edit the same article more than once a month, and too only if the change in the number is significant. Also, has this task been discussed somewhere? – SD0001  (talk) 16:04, 3 September 2020 (UTC)
 * I randomly checked about a half-dozen YouTubers and the subscription counts tended to be either 2 or 3 sigfics, so you wouldn't get an update of 2 million until it hit 2.1 million (though obviously the bot needs to know be able to deal with this). I concur that daily is unnecessary and that monthly might be better. Primefac (talk) 17:05, 3 September 2020 (UTC)
 * I agree with both of you. Daily/Weekly is unnecessary. The API only displays 2 (or 3) significant figures anyway. I actually didn't think to discuss it anywhere since the Bots/Requests_for_approval article says that if the bot could be controversial, it should be discussed. But it makes sense to talk to people about it beforehand, I was ignoring proceedure. I'll do it at WikiProject YouTube. Also, if the bot does not notice a difference in value, it will not submit an edit. EncodedRainbow (talk) 17:02, 8 September 2020 (AEST)

Suggest looking for the transclusions of Infobox YouTube personality, rather than the items in the list article. ProcrastinatingReader (talk) 02:11, 5 September 2020 (UTC) D Any progress? Primefac (talk) 15:36, 10 November 2020 (UTC)
 * If possible, please also keep track of how many pages it skips for having "the same" number. Primefac (talk) 16:28, 15 September 2020 (UTC)
 * Hey ER, Instead of editing locally, why not update  property of the associated wikidata item and contribute globally?    Nokib Sarkar  Poke 11:00, 28 September 2020 (UTC)
 * User has not edited since 8 September. No prejudice against re-opening upon their return. Primefac (talk) 01:25, 16 November 2020 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard.