Skip Menu |

This queue is for tickets about the IMDB-Film CPAN distribution.

Report information
The Basics
Id: 81517
Status: open
Priority: 0/
Queue: IMDB-Film

People
Owner: Nobody in particular
Requestors: vavrekm [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.52
Fixed in: (no value)



Subject: Title not recognized - IMDB structure has been changed ?
Module stops working --> seems that IMDB GET URL changed: Getting log output: ... Calling URL: http://www.imdb.com/find?s=tt;q=Gympl! Use of uninitialized value in pattern match (m//) at /usr/local/share/perl/5.10.1/IMDB/Film.pm line 385. ... Seems that link should contain two params: http://www.imdb.com/find?s=tt&q=Gympl! Supposed fix in Film.pm on line 136: ... search => 'find?s=tt&q=', ... ...but the error log still the same... seems that also HTML elements has changed... NeoV -- Fight for Free Software
From: venom [...] gen-x.co.nz
On Wed Nov 28 15:32:02 2012, NeoV wrote: Show quoted text
> Module stops working --> seems that IMDB GET URL changed: > > Getting log output: > ... > Calling URL: http://www.imdb.com/find?s=tt;q=Gympl! > Use of uninitialized value in pattern match (m//) at > /usr/local/share/perl/5.10.1/IMDB/Film.pm line 385. > ... > > Seems that link should contain two params: > http://www.imdb.com/find?s=tt&q=Gympl! > > > Supposed fix in Film.pm on line 136: > ... > search => 'find?s=tt&q=', > ... > > ...but the error log still the same... seems that also HTML elements has > changed... > > NeoV
Change line 363 in Film.pm if($title =~ /imdb\s+title\s+search/i) { to this.. if($title =~ /Find - IMDb/i) { fixes this.. tho i get errors Use of uninitialized value $href in pattern match (m//) at /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. Use of uninitialized value $href in pattern match (m//) at /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518. The problem is the whole search html output was changed on 28/11/2012 more can be found here... http://akas.imdb.com/help/show_leaf?find&ref_=fn_hlp Chunks of the code is going to have to changed these HTML changes... But that small fix returns the correct data for me...
Subject: Re: [rt.cpan.org #81517] Title not recognized - IMDB structure has been changed ?
Date: Fri, 30 Nov 2012 18:00:54 +0200
To: bug-IMDB-Film [...] rt.cpan.org
From: Michael Stepanov <stepanov.michael [...] gmail.com>
Hi, Thank for bugreport and small fix. I''ll try to fix it next week. On Fri, Nov 30, 2012 at 11:06 AM, VeNoMouS via RT <bug-IMDB-Film@rt.cpan.org Show quoted text
> wrote:
Show quoted text
> Queue: IMDB-Film > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81517 > > > On Wed Nov 28 15:32:02 2012, NeoV wrote:
> > Module stops working --> seems that IMDB GET URL changed: > > > > Getting log output: > > ... > > Calling URL: http://www.imdb.com/find?s=tt;q=Gympl! > > Use of uninitialized value in pattern match (m//) at > > /usr/local/share/perl/5.10.1/IMDB/Film.pm line 385. > > ... > > > > Seems that link should contain two params: > > http://www.imdb.com/find?s=tt&q=Gympl! > > > > > > Supposed fix in Film.pm on line 136: > > ... > > search => 'find?s=tt&q=', > > ... > > > > ...but the error log still the same... seems that also HTML elements has > > changed... > > > > NeoV
> > > Change line 363 in Film.pm > > if($title =~ /imdb\s+title\s+search/i) { > > to this.. > > if($title =~ /Find - IMDb/i) { > > fixes this.. tho i get errors > > > Use of uninitialized value $href in pattern match (m//) at > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. > Use of uninitialized value $href in pattern match (m//) at > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518. > > The problem is the whole search html output was changed on 28/11/2012 > more can be found here... > http://akas.imdb.com/help/show_leaf?find&ref_=fn_hlp > > Chunks of the code is going to have to changed these HTML changes... > > But that small fix returns the correct data for me... >
-- Best regards, Michael Stepanov http://linuxmce.ru
May be you can use the webservice directly: http://www.omdbapi.com/?t=Ice%20Age&y=2012 {"Title":"Ice Age: Continental Drift","Year":"2012","Rated":"PG","Released":"13 Jul 2012","Runtime":"1 h 28 min","Genre":"Animation, Adventure, Comedy, Family","Director":"Steve Martino, Mike Thurmeier","Writer":"Michael Berg, Jason Fuchs","Actors":"Ray Romano, Denis Leary, John Leguizamo, Aziz Ansari","Plot":"Manny, Diego, and Sid embark upon another adventure after their continent is set adrift. Using an iceberg as a ship, they encounter sea creatures and battle pirates as they explore a new world.","Poster":"http://ia.media-imdb.com/images/M/MV5BMTM3NDM5MzY5Ml5BMl5BanBnXkFtZTcwNjExMDUwOA@@._V1_SX300.jpg","imdbRating":"6.7","imdbVotes":"38,537","imdbID":"tt1667889","Response":"True"} Le Ven 30 Nov 2012 11:01:29, stepanov.michael@gmail.com a écrit : Show quoted text
> Hi, > > Thank for bugreport and small fix. I''ll try to fix it next week. > > > On Fri, Nov 30, 2012 at 11:06 AM, VeNoMouS via RT
<bug-IMDB-Film@rt.cpan.org Show quoted text
> > wrote:
>
> > Queue: IMDB-Film > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81517 > > > > > On Wed Nov 28 15:32:02 2012, NeoV wrote:
> > > Module stops working --> seems that IMDB GET URL changed: > > > > > > Getting log output: > > > ... > > > Calling URL: http://www.imdb.com/find?s=tt;q=Gympl! > > > Use of uninitialized value in pattern match (m//) at > > > /usr/local/share/perl/5.10.1/IMDB/Film.pm line 385. > > > ... > > > > > > Seems that link should contain two params: > > > http://www.imdb.com/find?s=tt&q=Gympl! > > > > > > > > > Supposed fix in Film.pm on line 136: > > > ... > > > search => 'find?s=tt&q=', > > > ... > > > > > > ...but the error log still the same... seems that also HTML
elements has Show quoted text
> > > changed... > > > > > > NeoV
> > > > > > Change line 363 in Film.pm > > > > if($title =~ /imdb\s+title\s+search/i) { > > > > to this.. > > > > if($title =~ /Find - IMDb/i) { > > > > fixes this.. tho i get errors > > > > > > Use of uninitialized value $href in pattern match (m//) at > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. > > Use of uninitialized value $href in pattern match (m//) at > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518. > > > > The problem is the whole search html output was changed on 28/11/2012 > > more can be found here... > > http://akas.imdb.com/help/show_leaf?find&ref_=fn_hlp > > > > Chunks of the code is going to have to changed these HTML changes... > > > > But that small fix returns the correct data for me... > >
> > >
Or this one : http://imdbapi.org/?q=dexter&type=json&plot=simple&episode=1&limit=1&yg=0&mt=none&lang=en-US&offset= {"rating": 9.1, "genres": ["Crime", "Drama", "Mystery", "Thriller"], "rated": "TV_MA", "language": ["English", "Spanish"], "title": "Dexter", "runtime": ["60 min"], "poster": "http://ia.media-imdb.com/images/M/MV5BMTgxMTIwOTY4Nl5BMl5BanBnXkFtZTcwMDA1MzMyOA@@._V1._SY317_CR12,0,214,317_.jpg", "imdb_url": "http://www.imdb.com/title/tt0773262/", "filming_locations": "1155 103rd St, Bay Harbor Islands, Florida, USA", "imdb_id": "tt0773262", "episodes": [{"season": 7, "episode": 12}, {"season": 6, "episode": 4, "title": "A Horse of a Different Color"}, {"season": 3, "episode": 9, "title": "About Last Night"}, {"season": 3, "episode": 4, "title": "All in the Family"}, {"season": 2, "episode": 3, "title": "An Inconvenient Lie"}, {"season": 7, "episode": 1, "title": "Are You...?"}, {"season": 7, "episode": 8, "title": "Argentina"}, {"season": 5, "episode": 4, "title": "Beauty and the Beast"}, {"season": 4, "episode": 3, "title": "Blinded by the Light"}, {"season": 1, "episode": 12, "title": "Born Free"}, {"season": 7, "episode": 3, "title": "Buck the System"}, {"season": 7, "episode": 7, "title": "Chemistry"}, {"season": 1, "episode": 7, "title": "Circle of Friends"}, {"season": 5, "episode": 7, "title": "Circle Us"}, {"season": 1, "episode": 2, "title": "Crocodile"}, {"season": 4, "episode": 4, "title": "Dex Takes a Holiday"}, {"season": 2, "episode": 6, "title": "Dex, Lies, and Videotape"}, {"season": 1, "episode": 1, "title": "Dexter"}, {"season": 4, "episode": 5, "title": "Dirty Harry"}, {"season": 7, "episode": 6, "title": "Do the Wrong Thing"}, {"season": 7, "episode": 11, "title": "Do You See What I See?"}, {"season": 3, "episode": 12, "title": "Do You Take Dexter Morgan?"}, {"season": 3, "episode": 7, "title": "Easy as Pie"}, {"season": 5, "episode": 6, "title": "Everything Is Illumenated"}, {"season": 1, "episode": 9, "title": "Father Knows Best"}, {"season": 3, "episode": 2, "title": "Finding Freebo"}, {"season": 5, "episode": 5, "title": "First Blood"}, {"season": 6, "episode": 9, "title": "Get Gellar"}, {"season": 3, "episode": 10, "title": "Go Your Own Way"}, {"season": 5, "episode": 2, "title": "Hello, Bandit"}, {"season": 4, "episode": 11, "title": "Hello, Dexter Morgan"}, {"season": 7, "episode": 9, "title": "Helter Skelter"}, {"season": 5, "episode": 11, "title": "Hop a Freighter"}, {"season": 4, "episode": 9, "title": "Hungry Man"}, {"season": 3, "episode": 11, "title": "I Had a Dream"}, {"season": 4, "episode": 6, "title": "If I Had a Hammer"}, {"season": 5, "episode": 10, "title": "In the Beginning"}, {"season": 2, "episode": 1, "title": "It's Alive!"}, {"season": 6, "episode": 6, "title": "Just Let Go"}, {"season": 2, "episode": 11, "title": "Left Turn Ahead"}, {"season": 1, "episode": 4, "title": "Let's Give the Boy a Hand"}, {"season": 4, "episode": 1, "title": "Living the Dream"}, {"season": 4, "episode": 10, "title": "Lost Boys"}, {"season": 1, "episode": 5, "title": "Love American Style"}, {"season": 2, "episode": 8, "title": "Morning Comes"}, {"season": 5, "episode": 1, "title": "My Bad"}, {"season": 6, "episode": 7, "title": "Nebraska"}, {"season": 6, "episode": 2, "title": "Once Upon a Time..."}, {"season": 3, "episode": 1, "title": "Our Father"}, {"season": 1, "episode": 3, "title": "Popping Cherry"}, {"season": 5, "episode": 3, "title": "Practically Perfect"}, {"season": 4, "episode": 2, "title": "Remains to Be Seen"}, {"season": 2, "episode": 9, "title": "Resistance Is Futile"}, {"season": 1, "episode": 6, "title": "Return to Sender"}, {"season": 6, "episode": 10, "title": "Ricochet Rabbit"}, {"season": 4, "episode": 8, "title": "Road Kill"}, {"season": 7, "episode": 4, "title": "Run"}, {"season": 2, "episode": 4, "title": "See-Through"}, {"season": 1, "episode": 10, "title": "Seeing Red"}, {"season": 1, "episode": 8, "title": "Shrink Wrap"}, {"season": 6, "episode": 8, "title": "Sin of Omission"}, {"season": 4, "episode": 7, "title": "Slack Tide"}, {"season": 6, "episode": 3, "title": "Smokey and the Bandit"}, {"season": 7, "episode": 2, "title": "Sunshine and Frosty Swirl"}, {"season": 7, "episode": 5, "title": "Swim Deep"}, {"season": 3, "episode": 6, "title": "S\u00ed se puede"}, {"season": 5, "episode": 8, "title": "Take It!"}, {"season": 6, "episode": 11, "title": "Talk to the Hand"}, {"season": 5, "episode": 9, "title": "Teenage Wasteland"}, {"season": 2, "episode": 7, "title": "That Night, a Forest Grew"}, {"season": 6, "episode": 5, "title": "The Angel of Death"}, {"season": 5, "episode": 12, "title": "The Big One"}, {"season": 2, "episode": 12, "title": "The British Invasion"}, {"season": 3, "episode": 8, "title": "The Damage a Man Can Do"}, {"season": 2, "episode": 5, "title": "The Dark Defender"}, {"season": 7, "episode": 10, "title": "The Dark... Whatever"}, {"season": 4, "episode": 12, "title": "The Getaway"}, {"season": 3, "episode": 3, "title": "The Lion Sleeps Tonight"}, {"season": 2, "episode": 10, "title": "There's Something About Harry"}, {"season": 6, "episode": 12, "title": "This Is the Way the World Ends"}, {"season": 6, "episode": 1, "title": "Those Kinds of Things"}, {"season": 1, "episode": 11, "title": "Truth Be Told"}, {"season": 3, "episode": 5, "title": "Turning Biminese"}, {"season": 2, "episode": 2, "title": "Waiting to Exhale"}], "rating_count": 147723, "actors": ["Michael C. Hall", "Jennifer Carpenter", "Lauren V\u00e9lez", "David Zayas", "James Remar", "C.S. Lee", "Desmond Harrington", "Julie Benz", "Christina Robinson", "Preston Bailey"], "plot_simple": "A likeable Miami police forensics expert moonlights as a serial killer of criminals who he believes have escaped justice.", "year": 2006, "country": ["USA"], "type": "TVS", "release_date": 20061001, "also_known_as": ["\u0414\u0435\u043a\u0441\u0442\u0435\u0440"]} Le Ven 30 Nov 2012 17:21:37, CELOGEEK a écrit : Show quoted text
> May be you can use the webservice directly: > > http://www.omdbapi.com/?t=Ice%20Age&y=2012 > > {"Title":"Ice Age: Continental > Drift","Year":"2012","Rated":"PG","Released":"13 Jul > 2012","Runtime":"1 > h 28 min","Genre":"Animation, Adventure, Comedy, > Family","Director":"Steve Martino, Mike Thurmeier","Writer":"Michael > Berg, Jason Fuchs","Actors":"Ray Romano, Denis Leary, John Leguizamo, > Aziz Ansari","Plot":"Manny, Diego, and Sid embark upon another > adventure > after their continent is set adrift. Using an iceberg as a ship, they > encounter sea creatures and battle pirates as they explore a new > world.","Poster":"http://ia.media- >
imdb.com/images/M/MV5BMTM3NDM5MzY5Ml5BMl5BanBnXkFtZTcwNjExMDUwOA@@._V1_SX300.jpg","imdbRating":"6.7","imdbVotes":"38,537","imdbID":"tt1667889","Response":"True"} Show quoted text
> > > Le Ven 30 Nov 2012 11:01:29, stepanov.michael@gmail.com a écrit :
> > Hi, > > > > Thank for bugreport and small fix. I''ll try to fix it next week. > > > > > > On Fri, Nov 30, 2012 at 11:06 AM, VeNoMouS via RT
> <bug-IMDB-Film@rt.cpan.org
> > > wrote:
> >
> > > Queue: IMDB-Film > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81517 > > > > > > > On Wed Nov 28 15:32:02 2012, NeoV wrote:
> > > > Module stops working --> seems that IMDB GET URL changed: > > > > > > > > Getting log output: > > > > ... > > > > Calling URL: http://www.imdb.com/find?s=tt;q=Gympl! > > > > Use of uninitialized value in pattern match (m//) at > > > > /usr/local/share/perl/5.10.1/IMDB/Film.pm line 385. > > > > ... > > > > > > > > Seems that link should contain two params: > > > > http://www.imdb.com/find?s=tt&q=Gympl! > > > > > > > > > > > > Supposed fix in Film.pm on line 136: > > > > ... > > > > search => 'find?s=tt&q=', > > > > ... > > > > > > > > ...but the error log still the same... seems that also HTML
> elements has
> > > > changed... > > > > > > > > NeoV
> > > > > > > > > Change line 363 in Film.pm > > > > > > if($title =~ /imdb\s+title\s+search/i) { > > > > > > to this.. > > > > > > if($title =~ /Find - IMDb/i) { > > > > > > fixes this.. tho i get errors > > > > > > > > > Use of uninitialized value $href in pattern match (m//) at > > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. > > > Use of uninitialized value $href in pattern match (m//) at > > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518. > > > > > > The problem is the whole search html output was changed on
> 28/11/2012
> > > more can be found here... > > > http://akas.imdb.com/help/show_leaf?find&ref_=fn_hlp > > > > > > Chunks of the code is going to have to changed these HTML
> changes...
> > > > > > But that small fix returns the correct data for me... > > >
> > > > > >
> >
From: venom [...] gen-x.co.nz
Thanks for the heads up CELOGEEK.... I'm rewriting my scraper right now to use this API... :) On Fri Nov 30 17:42:23 2012, CELOGEEK wrote: Show quoted text
> Or this one : > > http://imdbapi.org/?
q=dexter&type=json&plot=simple&episode=1&limit=1&yg=0&mt=none&lang=en- Show quoted text
> US&offset= > > {"rating": 9.1, "genres": ["Crime", "Drama", "Mystery", "Thriller"], > "rated": "TV_MA", "language": ["English", "Spanish"], "title": > "Dexter", > "runtime": ["60 min"], "poster": > "http://ia.media- >
imdb.com/images/M/MV5BMTgxMTIwOTY4Nl5BMl5BanBnXkFtZTcwMDA1MzMyOA@@._V1._ SY317_CR12,0,214,317_.jpg", Show quoted text
> "imdb_url": "http://www.imdb.com/title/tt0773262/", > "filming_locations": > "1155 103rd St, Bay Harbor Islands, Florida, USA", "imdb_id": > "tt0773262", "episodes": [{"season": 7, "episode": 12}, {"season": 6, > "episode": 4, "title": "A Horse of a Different Color"}, {"season": 3, > "episode": 9, "title": "About Last Night"}, {"season": 3, "episode": > 4, > "title": "All in the Family"}, {"season": 2, "episode": 3, "title": > "An > Inconvenient Lie"}, {"season": 7, "episode": 1, "title": "Are > You...?"}, > {"season": 7, "episode": 8, "title": "Argentina"}, {"season": 5, > "episode": 4, "title": "Beauty and the Beast"}, {"season": 4, > "episode": > 3, "title": "Blinded by the Light"}, {"season": 1, "episode": 12, > "title": "Born Free"}, {"season": 7, "episode": 3, "title": "Buck the > System"}, {"season": 7, "episode": 7, "title": "Chemistry"}, > {"season": > 1, "episode": 7, "title": "Circle of Friends"}, {"season": 5, > "episode": > 7, "title": "Circle Us"}, {"season": 1, "episode": 2, "title": > "Crocodile"}, {"season": 4, "episode": 4, "title": "Dex Takes a > Holiday"}, {"season": 2, "episode": 6, "title": "Dex, Lies, and > Videotape"}, {"season": 1, "episode": 1, "title": "Dexter"}, > {"season": > 4, "episode": 5, "title": "Dirty Harry"}, {"season": 7, "episode": 6, > "title": "Do the Wrong Thing"}, {"season": 7, "episode": 11, "title": > "Do You See What I See?"}, {"season": 3, "episode": 12, "title": "Do > You > Take Dexter Morgan?"}, {"season": 3, "episode": 7, "title": "Easy as > Pie"}, {"season": 5, "episode": 6, "title": "Everything Is > Illumenated"}, {"season": 1, "episode": 9, "title": "Father Knows > Best"}, {"season": 3, "episode": 2, "title": "Finding Freebo"}, > {"season": 5, "episode": 5, "title": "First Blood"}, {"season": 6, > "episode": 9, "title": "Get Gellar"}, {"season": 3, "episode": 10, > "title": "Go Your Own Way"}, {"season": 5, "episode": 2, "title": > "Hello, Bandit"}, {"season": 4, "episode": 11, "title": "Hello, Dexter > Morgan"}, {"season": 7, "episode": 9, "title": "Helter Skelter"}, > {"season": 5, "episode": 11, "title": "Hop a Freighter"}, {"season": > 4, > "episode": 9, "title": "Hungry Man"}, {"season": 3, "episode": 11, > "title": "I Had a Dream"}, {"season": 4, "episode": 6, "title": "If I > Had a Hammer"}, {"season": 5, "episode": 10, "title": "In the > Beginning"}, {"season": 2, "episode": 1, "title": "It's Alive!"}, > {"season": 6, "episode": 6, "title": "Just Let Go"}, {"season": 2, > "episode": 11, "title": "Left Turn Ahead"}, {"season": 1, "episode": > 4, > "title": "Let's Give the Boy a Hand"}, {"season": 4, "episode": 1, > "title": "Living the Dream"}, {"season": 4, "episode": 10, "title": > "Lost Boys"}, {"season": 1, "episode": 5, "title": "Love American > Style"}, {"season": 2, "episode": 8, "title": "Morning Comes"}, > {"season": 5, "episode": 1, "title": "My Bad"}, {"season": 6, > "episode": > 7, "title": "Nebraska"}, {"season": 6, "episode": 2, "title": "Once > Upon > a Time..."}, {"season": 3, "episode": 1, "title": "Our Father"}, > {"season": 1, "episode": 3, "title": "Popping Cherry"}, {"season": 5, > "episode": 3, "title": "Practically Perfect"}, {"season": 4, > "episode": > 2, "title": "Remains to Be Seen"}, {"season": 2, "episode": 9, > "title": > "Resistance Is Futile"}, {"season": 1, "episode": 6, "title": "Return > to > Sender"}, {"season": 6, "episode": 10, "title": "Ricochet Rabbit"}, > {"season": 4, "episode": 8, "title": "Road Kill"}, {"season": 7, > "episode": 4, "title": "Run"}, {"season": 2, "episode": 4, "title": > "See-Through"}, {"season": 1, "episode": 10, "title": "Seeing Red"}, > {"season": 1, "episode": 8, "title": "Shrink Wrap"}, {"season": 6, > "episode": 8, "title": "Sin of Omission"}, {"season": 4, "episode": 7, > "title": "Slack Tide"}, {"season": 6, "episode": 3, "title": "Smokey > and > the Bandit"}, {"season": 7, "episode": 2, "title": "Sunshine and > Frosty > Swirl"}, {"season": 7, "episode": 5, "title": "Swim Deep"}, {"season": > 3, "episode": 6, "title": "S\u00ed se puede"}, {"season": 5, > "episode": > 8, "title": "Take It!"}, {"season": 6, "episode": 11, "title": "Talk > to > the Hand"}, {"season": 5, "episode": 9, "title": "Teenage Wasteland"}, > {"season": 2, "episode": 7, "title": "That Night, a Forest Grew"}, > {"season": 6, "episode": 5, "title": "The Angel of Death"}, {"season": > 5, "episode": 12, "title": "The Big One"}, {"season": 2, "episode": > 12, > "title": "The British Invasion"}, {"season": 3, "episode": 8, "title": > "The Damage a Man Can Do"}, {"season": 2, "episode": 5, "title": "The > Dark Defender"}, {"season": 7, "episode": 10, "title": "The Dark... > Whatever"}, {"season": 4, "episode": 12, "title": "The Getaway"}, > {"season": 3, "episode": 3, "title": "The Lion Sleeps Tonight"}, > {"season": 2, "episode": 10, "title": "There's Something About > Harry"}, > {"season": 6, "episode": 12, "title": "This Is the Way the World > Ends"}, > {"season": 6, "episode": 1, "title": "Those Kinds of Things"}, > {"season": 1, "episode": 11, "title": "Truth Be Told"}, {"season": 3, > "episode": 5, "title": "Turning Biminese"}, {"season": 2, "episode": > 2, > "title": "Waiting to Exhale"}], "rating_count": 147723, "actors": > ["Michael C. Hall", "Jennifer Carpenter", "Lauren V\u00e9lez", "David > Zayas", "James Remar", "C.S. Lee", "Desmond Harrington", "Julie Benz", > "Christina Robinson", "Preston Bailey"], "plot_simple": "A likeable > Miami police forensics expert moonlights as a serial killer of > criminals > who he believes have escaped justice.", "year": 2006, "country": > ["USA"], "type": "TVS", "release_date": 20061001, "also_known_as": > ["\u0414\u0435\u043a\u0441\u0442\u0435\u0440"]} > > > Le Ven 30 Nov 2012 17:21:37, CELOGEEK a écrit :
> > May be you can use the webservice directly: > > > > http://www.omdbapi.com/?t=Ice%20Age&y=2012 > > > > {"Title":"Ice Age: Continental > > Drift","Year":"2012","Rated":"PG","Released":"13 Jul > > 2012","Runtime":"1 > > h 28 min","Genre":"Animation, Adventure, Comedy, > > Family","Director":"Steve Martino, Mike Thurmeier","Writer":"Michael > > Berg, Jason Fuchs","Actors":"Ray Romano, Denis Leary, John
> Leguizamo,
> > Aziz Ansari","Plot":"Manny, Diego, and Sid embark upon another > > adventure > > after their continent is set adrift. Using an iceberg as a ship,
> they
> > encounter sea creatures and battle pirates as they explore a new > > world.","Poster":"http://ia.media- > >
>
imdb.com/images/M/MV5BMTM3NDM5MzY5Ml5BMl5BanBnXkFtZTcwNjExMDUwOA@@._V1_S X300.jpg","imdbRating":"6.7","imdbVotes":"38,537","imdbID":"tt1667889"," Response":"True"} Show quoted text
> > > > > > Le Ven 30 Nov 2012 11:01:29, stepanov.michael@gmail.com a écrit :
> > > Hi, > > > > > > Thank for bugreport and small fix. I''ll try to fix it next week. > > > > > > > > > On Fri, Nov 30, 2012 at 11:06 AM, VeNoMouS via RT
> > <bug-IMDB-Film@rt.cpan.org
> > > > wrote:
> > >
> > > > Queue: IMDB-Film > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81517 > > > > > > > > > On Wed Nov 28 15:32:02 2012, NeoV wrote:
> > > > > Module stops working --> seems that IMDB GET URL changed: > > > > > > > > > > Getting log output: > > > > > ... > > > > > Calling URL: http://www.imdb.com/find?s=tt;q=Gympl! > > > > > Use of uninitialized value in pattern match (m//) at > > > > > /usr/local/share/perl/5.10.1/IMDB/Film.pm line 385. > > > > > ... > > > > > > > > > > Seems that link should contain two params: > > > > > http://www.imdb.com/find?s=tt&q=Gympl! > > > > > > > > > > > > > > > Supposed fix in Film.pm on line 136: > > > > > ... > > > > > search => 'find?s=tt&q=', > > > > > ... > > > > > > > > > > ...but the error log still the same... seems that also HTML
> > elements has
> > > > > changed... > > > > > > > > > > NeoV
> > > > > > > > > > > > Change line 363 in Film.pm > > > > > > > > if($title =~ /imdb\s+title\s+search/i) { > > > > > > > > to this.. > > > > > > > > if($title =~ /Find - IMDb/i) { > > > > > > > > fixes this.. tho i get errors > > > > > > > > > > > > Use of uninitialized value $href in pattern match (m//) at > > > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. > > > > Use of uninitialized value $href in pattern match (m//) at > > > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518. > > > > > > > > The problem is the whole search html output was changed on
> > 28/11/2012
> > > > more can be found here... > > > > http://akas.imdb.com/help/show_leaf?find&ref_=fn_hlp > > > > > > > > Chunks of the code is going to have to changed these HTML
> > changes...
> > > > > > > > But that small fix returns the correct data for me... > > > >
> > > > > > > > >
> > > >
> >
From: 2ge [...] 2ge.us
edit BaseClass.pm, line 512, small fix: next if $title =~ /\[IMG\]/i or !$href or $href =~ /pro.imdb.com/; Show quoted text
> > Use of uninitialized value $href in pattern match (m//) at > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. > Use of uninitialized value $href in pattern match (m//) at > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518.
Subject: Re: [rt.cpan.org #81517] Title not recognized - IMDB structure has been changed ?
Date: Wed, 2 Jan 2013 19:43:22 +0200
To: bug-IMDB-Film [...] rt.cpan.org
From: Michael Stepanov <stepanov.michael [...] gmail.com>
Hi, Thanks for correction. I'm going to release a fixed version of the module tomorrow. On Sun, Dec 16, 2012 at 6:19 PM, Ing. Branislav Gerzo via RT < bug-IMDB-Film@rt.cpan.org> wrote: Show quoted text
> Queue: IMDB-Film > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81517 > > > edit BaseClass.pm, line 512, small fix: > > next if $title =~ /\[IMG\]/i or !$href or $href =~ / > pro.imdb.com/; > >
> > > > Use of uninitialized value $href in pattern match (m//) at > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. > > Use of uninitialized value $href in pattern match (m//) at > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518.
> >
-- Best regards, Michael Stepanov http://linuxmce.ru
Subject: Re: [rt.cpan.org #81517] Title not recognized - IMDB structure has been changed ?
Date: Fri, 4 Jan 2013 19:00:35 +0200
To: bug-IMDB-Film [...] rt.cpan.org
From: Michael Stepanov <stepanov.michael [...] gmail.com>
New version 0.53 with fixes of majority bugs is uploaded to CPAN. Minor bugs and parsing of person's details will be fixed next week. On Wed, Jan 2, 2013 at 7:43 PM, Michael Stepanov via RT < bug-IMDB-Film@rt.cpan.org> wrote: Show quoted text
> Queue: IMDB-Film > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81517 > > > Hi, > > Thanks for correction. I'm going to release a fixed version of the module > tomorrow. > > > On Sun, Dec 16, 2012 at 6:19 PM, Ing. Branislav Gerzo via RT < > bug-IMDB-Film@rt.cpan.org> wrote: >
> > Queue: IMDB-Film > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81517 > > > > > edit BaseClass.pm, line 512, small fix: > > > > next if $title =~ /\[IMG\]/i or !$href or $href =~ / > > pro.imdb.com/; > > > >
> > > > > > Use of uninitialized value $href in pattern match (m//) at > > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 512. > > > Use of uninitialized value $href in pattern match (m//) at > > > /usr/local/share/perl/5.10.1/IMDB/BaseClass.pm line 518.
> > > >
> > > -- > Best regards, > Michael Stepanov > http://linuxmce.ru > >
-- Best regards, Michael Stepanov http://linuxmce.ru