Author Topic: Rottentomatoes_ [HTTPS] script  (Read 30449 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Rottentomatoes_ [HTTPS] script
« 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 in the Development section.

More details and information, read this topic curl - solution for https in the Talk section.

More details and information for old Rottentomatoes script, read this topic Suggestion for Ivek23 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.
« Last Edit: October 31, 2019, 08:10:27 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 476
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #1 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.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #2 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #3 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #4 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..
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #5 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #6 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?
« Last Edit: November 23, 2017, 04:40:22 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #7 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.
« Last Edit: March 07, 2017, 08:03:09 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #8 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.
« Last Edit: November 23, 2017, 04:39:00 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #9 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #10 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #11 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..
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #12 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.
« Last Edit: March 14, 2017, 07:17:15 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #13 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.
« Last Edit: November 26, 2017, 06:36:15 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #14 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.
« Last Edit: November 26, 2017, 06:40:21 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #15 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.

New version of Rottentomatoes [HTTPS]_Episode script is attached.
« Last Edit: November 26, 2017, 06:46:53 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #16 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #17 on: November 12, 2017, 05:37:05 pm »
Rottentomatoes_ [HTTPS] script 0.3.3.8 version

Fixed code of the Search Results.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #18 on: November 12, 2017, 05:38:44 pm »
Rottentomatoes_ [HTTPS] script 0.3.3.9 version

Fixed Parse movie infos with the movie page.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Rottentomatoes_ [HTTPS] script
« Reply #19 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..
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


 

anything