Skip to content

Instantly share code, notes, and snippets.

Avatar

Sam Mulvey refutationalist

View GitHub Profile
@refutationalist
refutationalist / curep.php
Last active June 16, 2016 00:16
Grabs and sends you the most recent ep of a podcast.
View curep.php
<?php
/*
* Look for the first podcast episode given an rss feed, then download it.
*
*
* This is pretty unsafe, as it'll grab any url handed to it.
*
* You can set feed by commenting the first line where it's defined and setting your
* own URL, but that still means that it'll download any file the supplied feed hands
* to it.