How to use yt-dlp with cookies from Arc Browser

yt-dlp is a handy tool (forked from youtube-dl) for downloading local copies of content from sites like YouTube. It supports using cookies from your browser so that you can access content that requires your login or some form of verification. It supports cookies from Brave, Chrome, Chromium, Edge, Firefox, Opera, Safari, or Vivaldi. This is good news for users of Arc (from the Browser Company) because it is Chromium based, so all we need to do is point to the path of its profile when we run yt-dlp. Here’s what the command looks like, just replace the fake URL with your video:

yt-dlp --cookies-from-browser "chromium:~/Library/Application Support/Arc/User Data/Default"