https://www.lostfilm.tv/download.php?id=12978&Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent
wget -qO - https://www.lostfilm.tv/rssdd.xml | grep -ioe 'http.*torrent' | grep -ie '\(Elementary\|Castle\)' | grep -i '1080p' | sed "s/&/\&/"
wget "https://www.lostfilm.tv/download.php?id=12978&Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent" -O "Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent"
wget -qO - https://www.lostfilm.tv/rssdd.xml | grep -ioe 'http.*torrent' | grep -ie '\(Elementary\|Castle\)' | grep -i '1080p' | sed "s/&/\&/" | wget -nc -qi - -P /volume1/TST --header "Cookie: uid=....; pass=............; usess=............"
<item> <title>Элементарно (Elementary). Когда твоя песенка спета (When Your Number\'s Up) [MP4]. (S03E15)</title> <description><![CDATA[<font color=""><strong>Сезон 3, серия 15</strong></font><br> <br> <img src="http://i551.photobucket.com/albums/ii448/suslikcorp/lostfilm/posters/elementary-s03-lostfilm.jpg" alt="" /><br> <br> <strong>Озвучание:</strong> Студия \"LostFilm\".]]></description><pubDate>Sun, 22 Feb 2015 17:34:20 +0000</pubDate> <link>https://www.lostfilm.tv/download.php?id=12979&Elementary.S03E15.720p.WEB.rus.LostFilm.TV.mp4.torrent</link> </item> <item> <title>Элементарно (Elementary). Когда твоя песенка спета (When Your Number\'s Up) [1080p]. (S03E15)</title> <description><![CDATA[<font color=""><strong>Сезон 3, серия 15</strong></font><br> <br> <img src="http://i551.photobucket.com/albums/ii448/suslikcorp/lostfilm/posters/elementary-s03-lostfilm.jpg" alt="" /><br> <br> <strong>Озвучание:</strong> Студия \"LostFilm\".]]></description><pubDate>Sun, 22 Feb 2015 17:33:43 +0000</pubDate> <link>https://www.lostfilm.tv/download.php?id=12978&Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent</link> </item> <item> <title>Элементарно (Elementary). Когда твоя песенка спета (When Your Number's Up). (S03E15)</title> <description><![CDATA[<font color=""><strong>Сезон 3, серия 15</strong></font><br> <br> <img src="http://i551.photobucket.com/albums/ii448/suslikcorp/lostfilm/posters/elementary-s03-lostfilm.jpg" alt="" /><br> <br> <strong>Озвучание:</strong> Студия "LostFilm".]]></description><pubDate>Sun, 22 Feb 2015 17:32:10 +0000</pubDate> <link>https://www.lostfilm.tv/download.php?id=12977&Elementary.S03E15.rus.LostFilm.TV.avi.torrent</link> </item>
wget -qO - https://www.lostfilm.tv/rssdd.xml | grep -ioe 'http.*torrent' | grep -ie '\(Elementary\|Castle\)' | grep -i '1080p' | sed "s/&/\&/"
https://www.lostfilm.tv/download.php?id=12978&Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent
wget -nc -qi - -P /volume1/TST --header "Cookie: uid=...; pass=...; usess=..."
wget "https://www.lostfilm.tv/download.php?id=12978&Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent" -O "/volume1/TST/Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent" --header "Cookie: uid=...; pass=...; usess=..."
wget -qO - https://www.lostfilm.tv/rssdd.xml | grep -ioe 'http.*torrent' | grep -ie '\(Elementary\|Castle\)' | grep -i '1080p' | sed "s/&/\&/" | wget -nc -qi - -P /volume1/TST --header "Cookie: uid=...; pass=...; usess=..."
... | sed "s/&/\&/" | awk 'BEGIN {FS="&"} {print "\42"$0"\42 -O \42/volume1/TST/"$2"\42"}' | xargs wget параметры
cat xml | grep -ie "https://www.lostfilm.*1080.*torrent" | while read i ; do [[ $i =~ \<link\>(.*)\</link\> ]]; link=`echo ${BASH_REMATCH[1]}|sed "s/amp\;//"`; echo $link" ----> "`echo $link|cut -f2 -d"&"` ; done
https://www.lostfilm.tv/download.php?id=12978&Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent ----> Elementary.S03E15.1080p.rus.LostFilm.TV.mkv.torrent