I spent hours tonight writing this program and I'm pretty proud of it.
It's a daemon written in python that automatically checks if chaturbate camwhores are online, and if they are it starts downloading their stream with youtube-dl.https://pastebin.com/3P8sjjh0
I'm particularly proud of how simple this is. It's only 22 lines. I've seen other programs on github and some are ugly and xbox huge.
I hardcode profiles into an array, and then start an infinite loop, where it iterates through the array of profiles, and for each profile it downloads the webpage and checks if they're online, and if they are it check if it's already downloading the stream by using pgrep (a program built into GNU/Linux) to check if a process is already running containing the profile link (i.e. youtube-dl <link>). After it does this for all profiles in the list, it sleeps for 30 seconds and then restarts the infinite loop.