Created
November 19, 2012 01:04
-
-
Save dacunni/4108418 to your computer and use it in GitHub Desktop.
Download Tivo index and .tivo files
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
#!/bin/bash | |
TIVOIP= | |
TIVOPORT=443 | |
TIVOMAK= | |
# Fetch the index.html file | |
curl --anyauth --user tivo:$TIVOMAK --insecure --cookie-jar cookies --url "https://$TIVOIP:$TIVOPORT/nowplaying/index.html" -o index.html | |
# Fetch the linked recordings | |
#wget --save-cookies cookies.txt --no-check-certificate --input-file=index.html --force-html --http-user=tivo --http-password=$TIVOMAK | |
# Fetch the linked recordings (with rate limiting) | |
wget --save-cookies cookies.txt --no-check-certificate --input-file=index.html --force-html --http-user=tivo --http-password=$TIVOMAK --limit-rate=50k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment