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

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
Exoskeletor
Posts: 8
Joined: 2005-11-29 09:55:46

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

Post 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)
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
Exoskeletor
Posts: 8
Joined: 2005-11-29 09:55:46

Post 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>
....
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
Post Reply