English > Feature Suggestions
Suggestion for Ivek23
deazo:
Hi Ivek23,
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 attach screenshots for example.
I think (i am not sure) in the case of this Lars Von Trier movie, (and probably for many others) it is looking for the original title (Forbrydelsens element), where is should look for the AkA (the element of crime).
So maybe the scrip has to be changed so that it also looks for the aka's?
I also wonder if it is struggling with special characters (titles like "Fortapàsc" or "Frontière(s)".
So I would say it works at 75% of cases.
Thank you for the help
D
[attachment deleted by admin]
Ivek23:
--- Quote from: deazo on November 28, 2012, 09:56:22 am --- 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.
--- End quote ---
I've been able to find the error, repair it,
--- Quote ---this part of code
--- Code: ---curPos := PosFrom('<a href="/m/', HTML, curPos);
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);
--- End code ---
replace this part of code
--- Code: ---curPos := PosFrom('<a href="/m/', HTML, curPos);
while curPos > 0 do begin
endPos := PosFrom('" class=', HTML, curPos);
--- End code ---
--- End quote ---
not I have not added Rottentomatoes (1) script , because I tested the search results on about 300 movies.
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]
Ivek23:
--- Quote from: deazo on November 28, 2012, 09:56:22 am ---I think (i am not sure) in the case of this Lars Von Trier movie, (and probably for many others) it is looking for the original title (Forbrydelsens element), where is should look for the AkA (the element of crime).
So maybe the scrip has to be changed so that it also looks for the aka's?
--- End quote ---
No, it is not necessary, is corrected, note is written above.
--- Quote from: deazo on November 28, 2012, 09:56:22 am --- I also wonder if it is struggling with special characters (titles like "Fortapàsc" or "Frontière(s)".
--- End quote ---
The problem is solved in a simple way:
1. )
This is the url address
http://www.rottentomatoes.com/search/?search=Fronti%E8re&sitesearch=rt
for Web search in PVD (see attached picture).
--- Quote ---Example:
This is the search url address for Frontière:
http://www.rottentomatoes.com/search/?search=Fronti%E8re&sitesearch=rt
For Web search in PVD:
Title:
Rotten Tomatoes
URL:
http://www.rottentomatoes.com/search/?search=Fronti%E8re&sitesearch=rt
Instead of this " =Fronti%E8re&sitesearch=rt " insert this "=%s&sitesearch=rt "
--- End quote ---
2. )
Do the first backup database so that you can do restore database to its original state. Add an entry in databaso instead title "Frontière" this title "Frontiere" and RottenTomatoes script you will certainly find a movie title (see attached picture). So obtained url address for this movie, copy to the url field "Frontière" movie, but first do is restore database before copying copied url.
Good luck in this work to you.
Rottentomatoes (1) script is attached.
[attachment deleted by admin]
deazo:
Hi Ivek23,
I am really not sure I understand what you mean, so let me know if I understood:
This is a summary of what I think you are telling me:
I should basically search the movie on the Rottentomatoes website, then copy the URL and paste it in the URL field, before running the script.
This is what you mean, right?
This is actually the workaround I have been already using for movies that are not found by the script. My issue is that it takes a lot of time to do this one movie at a time, and I was hoping that there was a problem in the script that you could fix.
But I think you have not changed the script, am I right?
Please let me know and I will carry on using the URL's one by one.
Thanks again
Ivek23:
--- Quote from: deazo on November 29, 2012, 01:11:10 am ---Thanks again
--- End quote ---
Welcome.
--- Quote from: deazo on November 29, 2012, 01:11:10 am --- I am really not sure I understand what you mean, so let me know if I understood:
This is a summary of what I think you are telling me:
I should basically search the movie on the Rottentomatoes website, then copy the URL and paste it in the URL field, before running the script.
This is what you mean, right?
--- End quote ---
Yes, it is true. It is only in the event Rottentomatoes script or Rottentomatoes (1) script does not find results.
--- Quote from: deazo on November 29, 2012, 01:11:10 am --- This is actually the workaround I have been already using for movies that are not found by the script. My issue is that it takes a lot of time to do this one movie at a time, and I was hoping that there was a problem in the script that you could fix.
--- End quote ---
I apologize for the long workflow. It is also a problem in the script, which I can not solve.
--- Quote from: deazo on November 29, 2012, 01:11:10 am --- But I think you have not changed the script, am I right?
Please let me know and I will carry on using the URL's one by one.
--- End quote ---
Rottentomatoes script was not nothing changed.
Rottentomatoes (1) script has been modified to better search results. The problem with search results it is in writing addresses instance in movies such as "Frontière". The problem I have tried to fix, but try to solve the problem were unfortunately unsuccessful. For that matter, have to do so as already mentioned
--- Quote --- Please let me know and I will carry on using the URL's one by one.
--- End quote ---
unfortunately, and so sorry that I was unable to solve.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version