Package: imdb-tools Version: 0.7-1 Severity: grave Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jaunty ubuntu-patch
The HTML layout of pages at the imdb changed and now searching fails without returning any results. This can be recreated by using a command like: imdb-get -s Hook A patch was submitted by an Ubuntu user to http://launchpad.net/bugs/313260. I've tested the patch it resolves the issue. -- Brian Murray @ubuntu.com
--- imdb-tools-0.7.orig/imdb-get.sh +++ imdb-tools-0.7/imdb-get.sh @@ -216,7 +216,7 @@ else TEMPCHOICES=`mktemp` files=("${fil...@]}" "$TEMPCHOICES") - < $TEMP tidy -iq -w 1000 2>/dev/null | sed 's/t\([dr][^>]*\)>/t\1>\n/g' | sed -n '/^ *<a href="\/title\/tt/s,^ *<a href="/title/\(tt[0-9]*\)/">\([^<]*\)</a>\([^<]*\)<.*,\1%\2 \3,p' > $TEMPCHOICES + < $TEMP tidy -iq -w 1000 2>/dev/null | sed 's/t\([dr][^>]*\)>/t\1>\n/g' | sed -n '/^ *<a href="\/title\/tt/s,^ *<a href="/title/\(tt[0-9]*\)/".*>\([^<]\+\)</a>\([^<]*\)<.*,\1%\2 \3,p' > $TEMPCHOICES (( i = 1 )) IFS=' '