Jump to content

Wikipedia:Bots/Requests for approval/YoutubeSubscriberBot

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by EncodedRainbow (talk | contribs) at 13:11, 2 September 2020. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

New to bots on Wikipedia? Read these primers!

Operator: EncodedRainbow (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

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