IMDB fetching problem (info about the movie)

If you are having problems with VCD-db, and you are unsure whether or not it is a bug, post it here.

Moderators: Carpo, Saviq

IMDB fetching problem (info about the movie)

Postby jaanus » Sat Jan 31, 2009 7:22 pm

Think imdb changed their layout or something, the plot, or what it calls, when you att a movie you dont get any plot info.
Anyone got a problem solver for this?
jaanus
Power user
 
Posts: 91
Joined: Wed Jan 10, 2007 2:52 am

Re: IMDB fetching problem (info about the movie)

Postby Saviq » Sun Feb 01, 2009 7:43 pm

Works for me, get the latest SVN version. Read the 'Current status' thread for more info.
Saviq
Site Admin
 
Posts: 401
Joined: Mon May 30, 2005 12:39 pm
Location: Poland

Re: IMDB fetching problem (info about the movie)

Postby killbill » Mon Feb 02, 2009 6:19 pm

Saviq: Is the new SVN version you are referring to located here: http://vcddb.konni.com/dev/trac.cgi/browser/trunk/? If so this didn't work for me. Here is what I did to fix the issue (circa late Oct of last year). Edit file /classes/fetch/VCDFetch_amazon.php

Change line 33
FROM
Code: Select all
'plot'      => '<h5>Plot Outline:</h5>([^\<]*)<'

TO
Code: Select all
'plot'      => '<h5>Plot:</h5>([^\<]*)<'
killbill
Power user
 
Posts: 24
Joined: Thu Jan 17, 2008 12:07 am

Re: IMDB fetching problem (info about the movie)

Postby jaanus » Wed Feb 18, 2009 7:11 pm

Thnx! Worked fine with "Plot" instead of "Plot Outline".
jaanus
Power user
 
Posts: 91
Joined: Wed Jan 10, 2007 2:52 am

Re: IMDB fetching problem (info about the movie)

Postby killbill » Wed Feb 18, 2009 7:31 pm

Sweet! No problem.
killbill
Power user
 
Posts: 24
Joined: Thu Jan 17, 2008 12:07 am

Re: IMDB fetching problem (info about the movie)

Postby mlshoats » Wed Jan 13, 2010 2:40 am

Change it to 'plot' => '<h5>Plot Summary:</h5>([^\<]*)<'

and it will cover the new IMDB Plot change
"God put me here to complete a certain number of task. Right now im so far behind I will never die.
mlshoats
Power user
 
Posts: 28
Joined: Wed Sep 06, 2006 5:25 pm
Location: Walking Through my mind

Re: IMDB fetching problem (info about the movie)

Postby killbill » Wed Jan 13, 2010 3:00 am

mlshoats wrote:Change it to 'plot' => '<h5>Plot Summary:</h5>([^\<]*)<'

and it will cover the new IMDB Plot change


Actually this is what I did to fix the plot for the latest change in IMDB. Change the following code

FROM
Code: Select all
'plot'      => '<h5>Plot:</h5>([^\<]*)<'


TO
Code: Select all
'plot'      => '<h5>Plot: </h5>([^\<]*)<'


The only difference is the space after the Plot and colon.
killbill
Power user
 
Posts: 24
Joined: Thu Jan 17, 2008 12:07 am


Return to Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron