Skip to content

Instantly share code, notes, and snippets.

@dacunni
Created November 19, 2012 01:04
Show Gist options
  • Save dacunni/4108418 to your computer and use it in GitHub Desktop.
Save dacunni/4108418 to your computer and use it in GitHub Desktop.
Download Tivo index and .tivo files
#!/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