I attached a patch which partially fixes the problem for version 0.9-1. The problem is a probably a redesign of the imdb homepage. Unfortunately, the developer didn't add any comments about the expected input, which makes it complicated to find out how the new commands should look like. With the patch, the tool is at least able to list search results again and it can extract the title (i got stuck at the extraction of the director). Personally, I think, bash and regular expressions are just the wrong language for parsing HTML, because it also leads to escaping problems (see below) and can return very surprising result if texts contain trigger words.
Here the result after patching: $ imdb-get -s alien 1: Alien (1979) 2: Untitled Neill Blomkamp/Alien Project (2017) 3: Alien (2010) (Video) 4: Aliens (1986) 5: Alien³ (1992) 6: Outpost 37 (2014) 7: Alien: Resurrection (1997) 8: Aliens in the Attic (2009) 9: Cowboys & Aliens (2011) 10: Alienator (1990) Select a Film: 1 Getting details from IMDB id: tt0078748 $ imdb-get -a -s alien 1: Alien (1979) 2: Untitled Neill Blomkamp/Alien Project (2017) 3: Alien (2010) (Video) 4: Aliens (1986) 5: Alien³ (1992) 6: Outpost 37 (2014) 7: Alien: Resurrection (1997) 8: Aliens in the Attic (2009) 9: Cowboys & Aliens (2011) 10: Alienator (1990) Select a Film: 1 Getting details from IMDB id: tt0078748 title: Alien year: 1979 director: <a href="/name/nm0000631/?ref_=tt_ov_dr" itemprop='url'>Ridley Scott Writers: <a href="/name/nm0639321/?ref_=tt_ov_wr" writer: tagline: plot: genre: cast: coverart: rating: ** Patch added: "imdb-patch-unfinished.patch" https://bugs.launchpad.net/ubuntu/+source/imdb-tools/+bug/1180225/+attachment/4338190/+files/imdb-patch-unfinished.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1180225 Title: all imdb-get searches return no results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/imdb-tools/+bug/1180225/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
