Grabbing magnet links from EZTV

Pub.

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

wget eztv.it/show -O – | grep magnet | cut -f6 -d ‘”‘  > show.magnet.link.newer.first.txt

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

wget eztv.it/show -O – | grep magnet | cut -f6 -d ‘”‘  | tac > show.magnet.link.chronological.order.txt

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 …

facebooktwittergoogle_plusredditpinterestlinkedinmail
Posted in Linux. No Comments »

Pub.

Leave a Reply

Pub.