Page 1 of 1

Small Correction of the IMDb Scripts

Posted: 2002-10-02 22:49:31
by Bad Joker
hey antoine

for your imdb scripts, please update the cast section

some of the imdb sites have another subject line for the cast and then the script does not import the cast at all, please add that:

change:

Code: Select all

LineNr := FindLine('Cast overview', Page, 0);
  if LineNr = -1 then
    LineNr := FindLine('cast overview', Page, 0);
  if LineNr = -1 then
    LineNr := FindLine('Complete credited cast', Page, 0);
  if LineNr > -1 then
to

Code: Select all

LineNr := FindLine('Cast overview', Page, 0);
  if LineNr = -1 then
    LineNr := FindLine('cast overview', Page, 0);
  if LineNr = -1 then
    LineNr := FindLine('Credited cast', Page, 0);
  if LineNr = -1 then
    LineNr := FindLine('Complete credited cast', Page, 0);
  if LineNr > -1 then
then it will work again with all movies ;)[/code]

Posted: 2002-10-03 07:17:41
by antp
Thanks :)