1821
Feature Suggestions / Re: Suggestion for Ivek23
« on: November 28, 2012, 07:44:07 pm »I am updating hundreds of movies with the RT script, but for some reason, it does not find some of the movies and does not even suggest titles.
I've been able to find the error, repair it,
Quote
this part of codenot I have not added Rottentomatoes (1) script , because I tested the search results on about 300 movies.Code: [Select]curPos := PosFrom('<a href="/m/', HTML, curPos);
replace this part of code
while (curPos > 0) AND (curPos < PosFrom('<a id="more_movies" href="#results_movies_tab">More Movies...</a>', HTML, endPos)) do begin
endPos := PosFrom('" class=', HTML, curPos);Code: [Select]curPos := PosFrom('<a href="/m/', HTML, curPos);
while curPos > 0 do begin
endPos := PosFrom('" class=', HTML, curPos);
There is a small cosmetic problem, namely to the first five results (one until five hits - depending on how many are on the All Search Results page) these results again repeat with all the other results in Movies Search Results page (see attached images).
I personally use this Rottentomatoes (1) script only if the basic Rottentomatoes script, if it does not display the correct search movie titles for your search movie or if it does not display all search movie titles for your search movie, including it is also correct title for your search movie.
Script will be added in the next post.
[attachment deleted by admin]