Booting · 00:00:00

Tom LEFRERE · Data Scientist

Raw data. A signal.

0%
EN FR

← Portfolio

· data · pandas · python

GetSubscribedChannels, a YouTube channels exporter

Python script to fetch the profile pictures of my subscribed YouTube channels via the YouTube Data API v3.

GetSubscribedChannels, a YouTube channels exporter

The project

A friend of mine suggested doing a tier list of our favorite YouTubers to swap recommendations. The catch: none of the templates on Tiermaker had all my channels. So, instead of adding them one by one by hand (which would have taken forever for a mediocre result), I adapted the code from my Any%English project to automate pulling each channel’s image.

How it works

  • Export my subscriptions from Google Takeout.

  • Read the CSV file with the channel IDs.

  • Hit the YouTube Data API v3 to fetch each channel’s image.

  • Download the images for the Tiermaker template.

Simple, quick, effective. Typical micro-tool you code in a single evening and end up reusing more often than you’d expect.

Context

Personal project, born of a concrete need in a few hours.

Tech stack

  • Python

  • Requests / Pandas

  • YouTube Data API v3