My favorites
▼
|
Sign in
torrentexpander
This script is designed to be a perfect companion to the Transmission torrent client and Flexget
Project Home
Downloads
Wiki
Issues
Source
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
20
attachment: sample.sh
(433 bytes)
1
2
3
4
5
6
7
imdb_id=tt1521197
wget_curl=/usr/bin/wget
imdb_fanart_format="w1280"
themoviedb_xml_cont=`echo "$("$wget_curl" -q "http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/57983e31fb435df4df77afb854740ea9/$imdb_id" -O -; wait)"`;
echo $themoviedb_xml_cont >> log.txt
fanart_url=`echo "$(echo "$themoviedb_xml_cont" | grep "backdrop" | grep "size=\"$imdb_fanart_format\"" | sed q | sed 's;.*url="\(.*\.jpg\).*;\1;g')"`;
echo $fanart_url
Powered by
Google Project Hosting