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.
joazito
Post
by joazito » 2003-02-09 10:20:42
Some of you may have noticed that when a movie is found on the first attempt at imdb.com, the URL field is filled with the words used for the search: like
http://imdb.com/Title?title=Blue+Crush instead of the more correct
http://us.imdb.com/Title?0300532 . Well, just replace this line in your script and you'll be fine.
original program:
Code: Select all
SetField(fieldURL, 'http://imdb.com/Title' + copy(Address, pos('?',Address), length(Address)));
modified:
Code: Select all
SetField(fieldURL, 'http://imdb.com/Title' + copy(Page.Text, pos('href="/Details?',Page.Text)+14, 8));
antp
Site Admin
Posts: 9902 Joined: 2002-05-30 10:13:07
Location: Brussels
Post
by antp » 2003-02-09 11:05:05
Ok, thanks
joazito
Posts: 13 Joined: 2003-02-09 10:28:28
Location: Setubal, Portugal
Post
by joazito » 2003-02-11 17:30:31
Ok this way is better... works 100% of the time.
Code: Select all
SetField(fieldURL, 'http://imdb.com/Title' + copy(Page.Text, pos('href="/Title?',Page.Text)+12, 8));
antp
Site Admin
Posts: 9902 Joined: 2002-05-30 10:13:07
Location: Brussels
Post
by antp » 2003-02-11 17:58:19
thanks