Skip to content

Instantly share code, notes, and snippets.

View Aurorum's full-sized avatar
Hi! 👋

Aurorum Aurorum

Hi! 👋
View GitHub Profile
@Aurorum
Aurorum / taylor-swift.gs
Last active June 1, 2024 12:04
How many times does Taylor Swift sing "love" in her back catalog?
/**
* For The Spectator internship application.
* - Counts the number of exact matches that Taylor Swift includes "love" in her studio albums.
*
* I decided to scrape the lyrics rather than use an API so that it would be easier to run
* without any hassle around API keys. You can simply copy and paste the script below into
* Google Apps Scripts and execute it.
*
* We can also change the regex on Line 38 to include words like "loved", "loving", etc.
*