Personal Video Database

English => Development => Scripts and Templates => Topic started by: Ivek23 on November 28, 2016, 07:10:21 pm

Title: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 28, 2016, 07:10:21 pm
Rottentomatoes_ [HTTPS] script

There is now a final version for Rottentomatoes_ [HTTPS] script, which using the curl program transfers data from RottenTomatoes secure pages.

Transmits data to the poster, genres, mpaa, box office, description, several types of rating assessments, directors, writers, actors, in theaters, DVD, runtime, studio, in addition, url, movie title and year.

In addition to search results pages on RottenTomatoes is next added the Bing search.

NEEDED CUSTOM PVdB FIELDS:
     ~RT Rating~          (Average rating for All Critics)
     ~RT Top Rating~      (Average Rating for Top Critics)
     ~RT Audience Rating~ (Average Rating audience)
     ~Movie Info~        (All Movie Info)   
     ~RT Title~           (RT Title)
     ~Screen~              (Screen)
    ~RTUpdated~        (RTUpdated)
    ~Rottentomatoes.com~        (Rottentomatoes.com)




How it works curl program, read this topic ]curl - PVD to https solution (http://www.videodb.info/forum_en/index.php/topic,4070.0.html) in the Development section.

More details and information, read this topic curl - solution for https (http://www.videodb.info/forum_en/index.php/topic,4069.0.html) in the Talk section.

More details and information for old Rottentomatoes script, read this topic Suggestion for Ivek23 (http://www.videodb.info/forum_en/index.php/topic,3252.0.html) in the Feature Suggestions section.




For guests :
Rottentomatoes script for download can be found in Rottentomatoes Links topic. Even IMDB Info Remove Script can be found and download in Rottentomatoes Links topic.

http://www.videodb.info/forum_en/index.php/topic,4036.html



Announcement:

On Rotten Tomatoes certain web pages appearing notice  ' 404 - Not Found '. Learn notice on the link below.


http://www.videodb.info/forum_en/index.php/topic,4079.msg20037.html#msg20037



New version of Rottentomatoes_ [HTTPS] script is attached.

New version of Rottentomatoes_simple_Bing_Search_0 script is attached


Imdb Remove Info Script is attached in twelfth post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg20067.html#msg20067)
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: afrocuban on November 28, 2016, 10:37:29 pm
Hello there!

RT obviously started to allow audience to rate movies x out of 5, unlike x out of ten which was earlier. Is it possible to represent this in PVD by decreasing number of stars from 10 to 5 only for Audience rating, or somehow to multiply RT Audience Rating by 2, so to correspondence with the 10-stars rating system in PVD? Both critics ratings should remain x out of 10 (10-stars) system.



Thank you in advance.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 29, 2016, 08:42:07 am
Hello there!

RT obviously started to allow audience to rate movies x out of 5, unlike x out of ten which was earlier. Is it possible to represent this in PVD by decreasing number of stars from 10 to 5 only for Audience rating, or somehow to multiply RT Audience Rating by 2, so to correspondence with the 10-stars rating system in PVD? Both critics ratings should remain x out of 10 (10-stars) system.



Thank you in advance.

In testing, and editing scripts, it was a lot of work and I was this little code changes are easily escaped from the point of view.

Thanks for the reported bug, because I overlooked this error. This error will be corrected when the new version of the script is added to the forum.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on December 09, 2016, 09:27:57 am
Announcement:

Rottentomatoes_ [HTTPS] script don't work anymore.

Cause:

The massive changes in the source code of movies web pages.

Solution:

The solution is not yet in sight, I hope that the problem can be solved in the shortest time possible.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on December 11, 2016, 02:51:05 pm
Rottentomatoes_ [HTTPS] script 0.3.3.5 version

Announcement:

Rottentomatoes_ [HTTPS] script don't work anymore.

Rottentomatoes_ [HTTPS] script works again.

Cause:

The massive changes in the source code of movies web pages.

I fixed changes in the source code for search results. I also fixed changes in the source code of movies web sites for the correct data transfer.

Rottentomatoes_ [HTTPS] script is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg19961.html#msg19961).
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on December 11, 2016, 05:38:43 pm
Perhaps you Rottentomatoes_ [HTTPS] script does not find your search movie title whose information you are looking for.
Help can also use it with Rottentomatoes_simple_Bing_Search_0 script, which you in the url field will be added to the movie url link. Now we can with Rottentomatoes_ [HTTPS] script also downloaded other information for this movie.

Rottentomatoes_simple_Bing_Search_0 script is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg19961.html#msg19961)
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on February 09, 2017, 10:02:38 am
Announcement:

I see now when I upgrade my film database with Rotten Tomatoes scripts for a certain film titles in which some of the new year was still possible to normal transmission of data, now it is no longer possible. In the search results RottenTomatoes movie scripts certain addresses normally find, then it only transfers the URL as a link to a website where you can find the same notice
Quote
404 - Not Found

Sorry, please try again later.
as to the link below.

https://www.rottentomatoes.com/m/1081623_merlin

https://www.rottentomatoes.com/m/kentucky_bluegrass_basketball?
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on February 09, 2017, 12:37:12 pm
https://www.rottentomatoes.com/m/1081623_merlin

It is interesting that this is happening only at the following URL addresses, which contain a seven-digit number - and the title of the movie. Such is the following URL address.

https://www.rottentomatoes.com/m/1076678_montana

https://www.rottentomatoes.com/search/?search=Montana


Such cases in updating the database has been up to now about 20 to 30 movie titles from some 450 update movie data (the entire database is approximately 920 movie titles.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on February 12, 2017, 09:15:53 am
Announcement:

I see now when I upgrade my film database with RottenTomatoes scripts for a certain film titles in which some of the new year was still possible to normal transmission of data, now it is no longer possible. In the search results RottenTomatoes movie scripts certain addresses normally find, then it only transfers the URL as a link to a website where you can find the same notice
Quote
404 - Not Found

Sorry, please try again later.
as to the link below.

https://www.rottentomatoes.com/m/1081623_merlin

This error on the website now is no longer present. During this time CloudFront for some time did not work. When CloudFront again become operational this fault has been rectified. It happens many times that there is a downtime for the RottenTomatoes web sites, which means that the CloudFront in that time has serious problems with its operation and is unable to connect to the source.

Quote

Announcement:

I see now when I upgrade my film database with Rotten Tomatoes scripts for a certain film titles in which some of the new year was still possible to normal transmission of data, now it is no longer possible. In the search results RottenTomatoes movie scripts certain addresses normally find,
https://www.rottentomatoes.com/m/1081623_merlin

It is interesting that this is happening only at the following URL addresses, which contain a seven-digit number - and the title of the movie. Such is the following URL address.

https://www.rottentomatoes.com/m/1076678_montana

https://www.rottentomatoes.com/search/?search=Montana


Such cases in updating the database has been up to now about 20 to 30 movie titles from some 450 update movie data (the entire database is approximately 920 movie titles.

Still, there is this one error associated with the URL. This is due to the source code of the search results, which is part of the URL such (m/1076678-Montana). RottenTomatoes script withstand such a URL, but not partially modified URL, which is in the movie web site [in the movie web site is such a partial URL(m/1076678_montana)].

This error in the RottenTomatoes script will be corrected in the next update to scripts. It will take a little patience, because now we do not know when I managed to do it. Then it is necessary to do some tests if the error is properly corrected and the script works properly.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on March 06, 2017, 07:43:18 am
Still, there is this one error associated with the URL. This is due to the source code of the search results, which is part of the URL such (m/1076678-Montana). RottenTomatoes script withstand such a URL, but not partially modified URL, which is in the movie web site [in the movie web site is such a partial URL(m/1076678_montana)].

This error in the RottenTomatoes script will be corrected in the next update to scripts. It will take a little patience, because now we do not know when I managed to do it. Then it is necessary to do some tests if the error is properly corrected and the script works properly.

In the search results is now added to this
Code: [Select]
MovieURL:=StringReplace(MovieURL,'-','_',True,False,False);part of the code, which now removes on Rotten Tomatoes script the above-mentioned error to the source code of the RottenTomatoes web search results.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on March 07, 2017, 08:03:36 am
Rottentomatoes_simple_Bing_Search_0 script 0.1.1.2 version

Rottentomatoes_simple_Bing_Search_0 script has added this
Code: [Select]
MovieURL:=StringReplace(MovieURL,'-','_',True,False,False);part of the code that the script correctly transferred URL address.

Rottentomatoes_simple_Bing_Search_0 script is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg19961.html#msg19961)
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on March 07, 2017, 08:04:45 am
Rottentomatoes_ [HTTPS] script 0.3.3.7 version

Have been made more minor corrections in the parts of the code for better and proper transfer of information.

Rottentomatoes_ [HTTPS] script is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg19961.html#msg19961).
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on March 07, 2017, 04:52:36 pm
Imdb Remove Info Script

Remove IMDB Info Script helps to have a proper record RottenTomatoes URL in the URL box when you have the old RottenTomatoes URL address this ' - ' sign and RottenTomatoes script does not transfer information.

Warning;

Before restarting RottenTomatoes script, you need to remove the old Rotten Tomatoes url address, because otherwise you will RottenTomatoes script still using the old RottenTomatoes URL address.


Imdb Remove Info Script is attached.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on March 26, 2017, 02:02:37 pm
Rottentomatoes_[HTTPS]_Series script 0.1.0.1 version

There is now a final version for Rottentomatoes_[HTTPS]_Series script, which using the curl program transfers data from RottenTomatoes secure pages.

Transmits data to the poster, description, several types of rating assessments, creator(writers), seasons(only show seasons in the ~Movie Info~    custom field), in addition, url, movie title and year.

NEEDED CUSTOM PVdB FIELDS:
     ~RT Rating~          (Average rating for All Critics)
     ~RT Top Rating~      (Average Rating for Top Critics)
     ~RT Audience Rating~ (Average Rating audience)
     ~Movie Info~        (All Movie Info)   
     ~RT Title~           (RT Title)
    ~RTUpdated~        (RTUpdated)
    ~Rottentomatoes.com~        (Rottentomatoes.com)


Announcement:

Just show seasons in the Movie Info custom field, as are written in the source code on RottenTomatoes page. It is not added to the transfer of Actors information. For certain series on web pages very large number of actors records.
For data transmission it is too much information and in that case PVD freezes when running transfer too many of these data. Search results you will find just the titles of the series.

New version of Rottentomatoes_[HTTPS]_Series script is attached.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on March 26, 2017, 02:46:47 pm
Rottentomatoes [HTTPS]_Season script 0.1.0.1 version

There is now a final version for Rottentomatoes_[HTTPS]_Season script, which using the curl program transfers data from RottenTomatoes secure pages.

Transmits data to the poster, genres, description, several types of rating assessments, producers(exec. producers), creator(writers), actors,  studio(network),  premiere date(only show premiere date in the ~Release Info~ and  ~Movie Info~  custom field), episodes(only show episodes list in the ~Movie Info~  custom field), in addition, url, movie title and year.

NEEDED CUSTOM PVdB FIELDS:
     ~RT Rating~          (Average rating for All Critics)
     ~RT Top Rating~      (Average Rating for Top Critics)
     ~RT Audience Rating~ (Average Rating audience)
     ~Movie Info~        (All Movie Info)   
     ~RT Title~           (RT Title)
     ~Release Info~             (Premiere Date)
    ~RTUpdated~        (RTUpdated)
    ~Rottentomatoes.com~        (Rottentomatoes.com)


Announcement:

Premiere Date show in the Release Info and Movie Info custom field. Just show 10 or 11 titles on episode list in the Movie Info custom field, as are written in the source code on RottenTomatoes page. Search results you will find just the titles of the series.

New version of Rottentomatoes [HTTPS]_Season script is attached.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on March 26, 2017, 03:09:17 pm
Rottentomatoes [HTTPS]_Episode script 0.1.0.1 version

There is now a final version for Rottentomatoes_[HTTPS]_Episode script, which using the curl program transfers data from RottenTomatoes secure pages.

Transmits data to the poster, genres, description, directors, writers, actors,  studio(network), air date(only show air date in the ~Release Info~ and  ~Movie Info~  custom field), in addition, url, movie title and year.

NEEDED CUSTOM PVdB FIELDS:
     ~Movie Info~        (All Movie Info)   
     ~RT Title~           (RT Title)
     ~Release Info~             (Air Date)
    ~RTUpdated~        (RTUpdated)
    ~Rottentomatoes.com~        (Rottentomatoes.com)


Announcement:

Air Date show in the Release Info and Movie Info custom field. There is no information for the year, several types of rating assessments. Search results you will find just the titles of the series.

And yet this notice:

The titles for the season and episodes you may find it easier with using Rottentomatoes_simple_Bing_Search_0 script (http://www.videodb.info/forum_en/index.php/topic,4079.msg19961.html#msg19961).

New version of Rottentomatoes [HTTPS]_Episode script is attached.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on May 07, 2017, 11:13:53 am
Announcement:

Rottentomatoes_ [HTTPS] script 0.3.3.7 version still works when you already have a RottenTomatoes url address. Cause when not operating in a change in the source code for the search results. Currently, I have not found the right solution to this problem, because the source code for search results in the problem, which is causing a lot of problems to find the right solution for correct display of search results for a particular movie. Currently part of the solution can display only one movie title in the search results display. It is not necessary that this address (title of movie in search results) also proper the address that you are looking for a movie. And the advanced search mode with a Search Engine Web page only works when on the RottenTomatoes Web page, no results found. Temporary solutions for search results is also
Rottentomatoes_simple_Bing_Search_0 script or manually enter RottenTomatoes URL with RottenTomatoes Web page. This problem may be solved when the next change in source code for search results. It may be able to see the correct display of the search results again.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 12, 2017, 05:37:05 pm
Rottentomatoes_ [HTTPS] script 0.3.3.8 version

Fixed code of the Search Results.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 12, 2017, 05:38:44 pm
Rottentomatoes_ [HTTPS] script 0.3.3.9 version

Fixed Parse movie infos with the movie page.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 12, 2017, 05:41:06 pm
Rottentomatoes_ [HTTPS] script 0.3.4.0 version

Some minor corrections in the parts of the code.


Rottentomatoes_ [HTTPS] script is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg19961.html#msg19961).
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 23, 2017, 02:22:40 pm
Rottentomatoes_simple_Bing_Search_0 script 0.1.1.3 version

Corrected part of the code for transferring url addresses.

Rottentomatoes_simple_Bing_Search_0 script is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg19961.html#msg19961)
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 23, 2017, 05:33:19 pm
Announcement:

I see now when I upgrade my film database with Rotten Tomatoes scripts for a certain film titles in which some of the new year was still possible to normal transmission of data, now it is no longer possible. In the search results RottenTomatoes movie scripts certain addresses normally find, then it only transfers the URL as a link to a website where you can find the same notice
Quote
404 - Not Found

Sorry, please try again later.
as to the link below.

https://www.rottentomatoes.com/m/1081623_merlin

https://www.rottentomatoes.com/m/kentucky_bluegrass_basketball?

A new erro (404 - Not Found) occurred when the URL address is displayed as below:

https://www.rottentomatoes.com/m/null

Such a url is displayed when the source code for the search results is such a url url. The solution is to delete such a URL from a database and use Rottentomatoes_simple_Bing_Search_0 script to find the correct URL (most of which it finds, but not always). Then, Rottentomatoes_ [HTTPS] script will transfer information to you.

However, it may happen that a normal url will be clicked when you click on a link to open the web page, display the next record:
Quote
404 - Not Found

Sorry, please try again later.

I noticed that this is happening often with the titles of recent movies, which are years after 2010. These errors can not currently be solved until the administrators of the Rottentomatoes.com website do not correct such errors.
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 26, 2017, 06:33:45 pm
Rottentomatoes_[HTTPS]_Series script 0.1.0.2 version

Some minor corrections in the parts of the code.


New version of Rottentomatoes_[HTTPS]_Series script is attached in
thirteenth post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg20073.html#msg20073)
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 26, 2017, 06:39:14 pm
Rottentomatoes [HTTPS]_Season script 0.1.0.2 version

Some minor corrections in the parts of the code.


New version of Rottentomatoes [HTTPS]_Season script is attached in
fourteenth post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg20074.html#msg20074)
Title: Re: Rottentomatoes_ [HTTPS] script
Post by: Ivek23 on November 26, 2017, 06:45:44 pm
Rottentomatoes [HTTPS]_Episode script 0.1.0.2 version

Some minor corrections in the parts of the code.


New version of Rottentomatoes [HTTPS]_Episode script is attached in
fifteen post. (http://www.videodb.info/forum_en/index.php/topic,4079.msg20073.html#msg20073)