Grabbing magnet links from EZTV


To get all the magnetic links from a show that was posted on EZTV just use the following command:

wget -O – | grep magnet | cut -f6 -d ‘”‘  >

to sort by the order that the show was broadcast use the tac command:

wget -O – | grep magnet | cut -f6 -d ‘”‘  | tac >

You want to trough-in after the grep magnet , a grep 720 if you’re looking for HD version or a grep -v 720 if want to make sure just to get SD versions. A grep -i S04E would filter Season 4 only episodes.

Notice that the argument for the cut is ‘ ” ‘ (that is, single quote, normal quote, single quote, not grave accent `) – HTML sometimes messes this up …

Posted in Linux. No Comments »


Leave a Reply