This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
External Data
Michael Solati edited this page Jan 6, 2022
·
1 revision
web.dev relies on some externally generated data. Below the various external data sources are documented.
YouTube playlists, that are used to generate web.dev/shows are generated by a Firebase Function. The function takes a list of playlist IDs and loops through them fetching all the videos recursively. It then fetches all the video thumbnails and stores them in a storage bucket then saves all the playlists videos into a JSON file. One JSON per playlist.
This process requires a YouTube API Key. Ensure the GCP project has Secret Manager
enabled and there is YOUTUBE_KEY
with a key for the YouTube Data API
.