What it does
Logs subscribers, total views and video count for your channel and your rivals' (one per row: @handle or channel ID), with the change since the last run. Uses the official YouTube Data API with your free Google API key. Schedule it daily and send the results to a Google Sheet to chart growth. YouTube rounds public subscriber counts.
How it works
- Decides what to do next
- Picks out the values
- Calls the service's API
All 19 steps (as they appear in the app)
- If channel matches ^UC[\w-]{20,}$
- _q = id={{channel:url}}
- Find /(@[\w.\-]+)/ → _handle
- If _handle empty
- _handle = @{{channel}}
- _q = forHandle={{_handle:url}}
- GET {{yt_url}}?part=snippet,statistics&{{_q}}&key={{api_key}}
- Read values: channel_name, channel_id, subscribers, views, videos
- If channel_id empty
- Stop row: channel not found: {{channel}}
- Remember yt {{channel_id}} for next run
- new_subscribers =
- new_views =
- If _prev not empty
- Find /^(\d*)\|/ → _prev_subs
- Find /\|(\d*)$/ → _prev_views
- new_subscribers = {{subscribers|0}} - {{_prev_subs|0}}
- new_views = {{views|0}} - {{_prev_views|0}}
- checked_at = {{now}}
Sample data included
The template comes with sample rows like these, so you can see it work before using your own list.
| channel | label |
|---|---|
| @YouTube | benchmark |
| @GoogleDevelopers | rival |
Get this template
1. Download Develofly Autopilot: free, for Ubuntu and other Linux desktops.
Download Develofly Autopilot2. The app comes with every template, so this one is already in your library. Click below to open it (or find it under Templates).
Open in AutopilotWhat you need
- A spreadsheet (CSV or Excel) — a sample is included
- An API key for the service it uses
You fill in: YouTube Data API key, YouTube API address (advanced).
Make it yours
Every step is editable in the app: change the site, the columns, the schedule, or chain it with other bots. Run it once, on a schedule, or sell it as your own bot.