Page 1 of 1

How can i make Ant ignore underscores etc when seaching imdb

Posted: 2012-11-06 20:50:48
by semel
and other sites?

I get movies names from folders.
For instance
Everybodys_Fine_2009

When i try to run IMDB script it doesnt find anything at all

Is there a way to make ANt(in a script, perhaps?) ignore underscores and numbers(in my case)


Sincerely yours,
Semel

Posted: 2012-11-06 21:52:16
by antp
Near the end of the IMDB script you can find this:
MovieName := StringReplace(MovieName, '&', 'and');
just add the following after or before:
MovieName := StringReplace(MovieName, '_', ' ');
For other scripts, you can do it in a similar way: do the replacement of the movie title entered between the place where it is asked to the user (Input function) and the call to a function that will analyze it.

Posted: 2012-11-06 23:05:27
by semel
Will do. Thanx a lot ;)