Created
April 13, 2016 21:22
-
-
Save dbb/11c8696f2be7f07a12563c0fb7d59151 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while <FILE> { | |
if ( m{(https?://foobar.*\.mp4)} ) { | |
( $url = $1 ) =~ s{Display\.cfm\?Nav=(\S\S\S)}{Video/$1/} | |
system("curl", "-LO", "$url") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment