Processed: Re: Bug#519603: imdb-get fails due to HTML layout changes
Processing commands for cont...@bugs.debian.org: > tag 519603 +pending Bug#519603: imdb-get fails due to HTML layout changes Tags were: patch Tags added: pending > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#519603: imdb-get fails due to HTML layout changes
tag 519603 +pending thanks On Fri Mar 13 11:30, Brian Murray wrote: > > 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: > > A patch was submitted by an Ubuntu user to > http://launchpad.net/bugs/313260. I've tested the patch it resolves the > issue. Thanks, I've already got this applied upstream, I'll do a release and push it through unstable. matt -- Matthew Johnson signature.asc Description: Digital signature
Bug#519603: imdb-get fails due to HTML layout changes
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 '/^ *\([^<]*\)\([^<]*\)<.*,\1%\2 \3,p' > $TEMPCHOICES + < $TEMP tidy -iq -w 1000 2>/dev/null | sed 's/t\([dr][^>]*\)>/t\1>\n/g' | sed -n '/^ *\([^<]\+\)\([^<]*\)<.*,\1%\2 \3,p' > $TEMPCHOICES (( i = 1 )) IFS=' '