Page 1 of 1

option to select auto the popular search in imdb if it is 1

Posted: 2005-11-29 09:58:22
by Exoskeletor
hi, how i can modify the script for imdb in order to automaticly select a title that has only one popular result?

if it is more than one then if we want to select the most popular or...

to show again the browser to select for a result. (3 more values)

Posted: 2005-11-29 10:35:40
by antp
Hi,
It is not easy to modify it quickly, since it does not separate the popular results from the others in the code. So extra checks on the list contents would have to be added for that, i.e. searching for the "popular results" text item and check how many items are in the list under it.

Posted: 2005-11-29 10:40:12
by Exoskeletor
i can do it? in which part of the script i have to modify the code in order to do it.

the first popular result it will be the name after the first or second <br> i guess

Search results <br>
popular searches <br>
movie name <br>
....

Posted: 2005-11-29 10:51:26
by antp
If it was very simply to add I would give it. But it is not something that I can do in 1 minute.
The results of each group are in <ol> lists, with each title in an item <li> if I remember well. So search for the part of the script where it searches for <ol> items.