Author Topic: Boxofficemojo.com Plugin  (Read 32178 times)

0 Members and 1 Guest are viewing this topic.

Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Boxofficemojo.com Plugin
« on: November 05, 2015, 07:29:10 pm »
"Imdb.com" doesn't display "Box office" correctly.

It could be an interesting plugin.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #1 on: November 06, 2015, 03:56:46 pm »
"Imdb.com" doesn't display "Box office" correctly.

It could be an interesting plugin.

Maybe, just tell what exactly would you like to have in the script, we'll see what we can do.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #2 on: November 08, 2015, 05:17:34 pm »
Url, Production Budget, and Worldwide.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #3 on: November 08, 2015, 05:51:26 pm »
Url, Production Budget, and Worldwide.

Ok, but it will take a few days, I've been busy editing their own movie database, by updating and while also checking data to Boxofficemojo.com, which are here mentioned.

I must also mention what I have so far noticed that for quite a few of my movies  (about 900 movies), which I have in Movie Database, is that they do not in their database or some data which you want to have, by (Production Budget, or Worldwide, or both) it could not be found.

http://pro.boxoffice.com/

At the above address as well as data, which you mentioned, and how I managed to quickly check may be even more real than at Boxofficemojo.com.

Check there and then know here, how could there with these data, which would want to have.
« Last Edit: November 12, 2015, 11:26:28 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 jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #4 on: November 09, 2015, 03:00:54 pm »
Perfect.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #5 on: November 14, 2015, 09:10:58 am »
Here is BoxOfficeMojo.com script that downloads all the data which you want to have:
Url, Production Budget, and Worldwide.

The script finds the titles of movies, which are in their database, but beware the titles of movies may not be following signs:
! ? ' and ,  sign

If the script still can not find the desired film, however, in Tools > Settings > Web search please enter the following text,

Box Office Mojo      http://www.boxofficemojo.com/search/?page=releases&p=.htm&q=%s%u

if this text, there may still not have written. Through this you will also find the movie you are looking for.

The script is attached.
« Last Edit: November 14, 2015, 09:18:40 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 jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #6 on: November 16, 2015, 07:51:28 pm »
I have a problem.

The plugin works if i dont use first any plugin.

If not, i have this error:

"HTTP/1.1 403 Forbidden"

PD: The plugin is "Filmaffinity".

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #7 on: November 17, 2015, 07:32:57 am »
I have a problem.

The plugin works if i dont use first any plugin.

If not, i have this error:

"HTTP/1.1 403 Forbidden"

PD: The plugin is "Filmaffinity".

When I added FilmAffinity_[ES]_2014 script, I got the same error as you have described. Why this error occurs, I do not know, but when I am adding New_Releases_FilmAffinity script, the error was gone.  I suggest that New_Releases_FilmAffinity script add to a folder where you already have FilmAffinity_[ES]_2014 script.

I hope that this will solve the problem.
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: Boxofficemojo.com Plugin
« Reply #8 on: November 23, 2015, 01:45:22 pm »
There is also BoxOfficepro.com script that downloads all the data which you want to have:
Url, Production Budget, and Worldwide.
http://pro.boxoffice.com/

At the above address as well as data, which you mentioned, and how I managed to quickly check may be even more real than at Boxofficemojo.com.

The script is attached.
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: Boxofficemojo.com Plugin
« Reply #9 on: November 23, 2015, 02:01:19 pm »
BoxOfficeMojo.com script


BoxOfficeMojo data:                                           custom field:
--------------------------                                  -------------------

Production Budget                                           Production Budget:   
Worldwide                                                       Worldwide:



BoxOfficepro.com script


BoxOfficepro data:                                           custom field:
-------------------------                                  -------------------

Total Budget                                                    Total Budget   
Worldwide Gross                                            Worldwide Gross:
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #10 on: November 26, 2015, 12:28:40 am »
How works the custom fields?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #11 on: November 26, 2015, 08:03:42 am »
How works the custom fields?

Custom fields act the same as a normal field. Under normal skins where this piece of code
Code: [Select]
<customsection><color>$EAEAEA</color></customsection>  or
Code: [Select]
  <tab space="0">
   <caption>&amp;Custom fields</caption> 
   <row>
    <col space="0">
     <customsection><color>$EAEAEA</color></customsection>
</col>
   </row>
  </tab>
the custom fields visible as soon as you enter the Settings  --> Custom items. If you are in the skin have added any custom field, it is necessary to any new custom field specially added as shown by the following addition of My skins pack of skins.
« Last Edit: November 26, 2015, 08:15:19 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 jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #12 on: November 27, 2015, 08:11:16 pm »
I have three addresses in URL. Any way to automatically delete Boxofficemojo URL?

Thanks for the help.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #13 on: November 28, 2015, 07:45:29 am »
I have three addresses in URL. Any way to automatically delete Boxofficemojo URL?

Thanks for the help.

As far as I know (I hope I am not mistaken), the URL can only be removed manually, which is a large number of movies in the database is a time consuming task. However, if you leave the url address, you can at any time without further search you visit a website a certain film if you might want to check what any other information on the website, script whose data could not be transferred.

For new entries, there is a simple solution in the script which prevents record URL:
Code: [Select]
procedure ParseMovie(MovieURL : String; HTML : String);
var
curPos, endPos : Integer;
TmpStr, TmpStr0, TmpStr1, TmpStr2 : String;
begin

//Get ~mfURL~ or ~URL~
//AddFieldValue(mfURL, MovieURL);

There is also a solution to keep the URL to this record in a custom field instead of the normal field Url:
Code: [Select]
procedure ParseMovie(MovieURL : String; HTML : String);
var
curPos, endPos : Integer;
TmpStr, TmpStr0, TmpStr1, TmpStr2 : String;
begin

//Get ~mfURL~ or ~URL~
//AddFieldValue(mfURL, MovieURL);
AddCustomFieldValueByName('Boxofficemojo', '<link url="' + MovieURL + '">' + MovieURL + '</link>');

BTW:
I also currently in one of the many movie databases that use them, manually remove specific URLs, which do not want to be in the Url field(about 900 movie titles in database).
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: Boxofficemojo.com Plugin
« Reply #14 on: July 10, 2016, 02:22:20 pm »
Important news:

BoxOfficepro.com script don't work anymore.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #15 on: July 27, 2018, 03:48:33 pm »
Any chance of having this script in the MOD version?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #16 on: July 28, 2018, 09:18:23 am »
Any chance of having this script in the MOD version?

We will see in the future if VVV_Easy_Programing (or even I) can edit the BoxOfficeMojo.com script for the MOD version. It depends on whether it can be arranged in such a way, that it will work correctly in the MOD version.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #17 on: October 27, 2019, 10:58:43 pm »
This web has changed his design and maybe now it will be easy to make the plugin.

It uses the same ID than IMDB.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Boxofficemojo.com Plugin
« Reply #18 on: October 29, 2019, 02:10:08 pm »
This web has changed his design and maybe now it will be easy to make the plugin.

It uses the same ID than IMDB.

Yes, I'll see what can be done.

Updated:

A new BoxOffice_Mojo_ [HTTPS] .psf script will be ready to use in a day or two. It will also work in the PVD MOD version.
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: Boxofficemojo.com Plugin
« Reply #19 on: October 31, 2019, 04:46:14 pm »
Updated:

A new BoxOffice_Mojo_ [HTTPS] .psf script will be ready to use in a day or two. It will also work in the PVD MOD version.

The BoxOfficeMojo_ [HTTPS] script is based on the Rottentomatoes_ [HTTPS] script and has the same parameters for operation as the Rottentomatoes_ [HTTPS] script.

BoxOfficeMojo.com script


BoxOfficeMojo data:                                           custom field:
--------------------------                                  -------------------

Production Budget                                           Production Budget:   
Worldwide                                              Worldwide:

In addition to the custom fields mentioned above, it also has the following custom fields:


BoxOfficeMojo data:                                           custom field:
--------------------------                                  -------------------

Description                                                      Description   
Domestic                                                              Domestic:
International                                                            International:
Domestic Distributor                                                   Distributor:   or   Distributors:
Genres                                                                   Genresm    or  Genremb)
Earliest Release Date                                           Release Date2
MPAA Rating                                                            MPAA Rating:
BOMUpdated                                                      BOMUpdated
BoxOfficeMojo.com                                                   BoxOfficeMojo.com


These additional custom fields are added by each individual to PVD according to their wishes, depending on what they would like to see in their movie database.

The following normal fields are also added:
Poster, Title, Year, Description, Genres, Budget, Release Date and MPAA


Search results also contain movie posters. To display movie posters, you need to use the Proxomitron program and proxy settings in PVD.
Quote
You will also need a new default.cfg file, which is added below. Download the file and copy the Proxomitron program folder, to replace the old "default.cfg" with this new "default.cfg" .

It will also act PVD, you must also PVD settings \ Internet connection, find the "Proxy" and confirm. In the "Server" field enter "localhost" Port settings to 80 . Only with this configuration will function properly PVD. PVD is used only proxy port 80.
The same goes for transferring posters to PVD movie databases. Posters use secure Amazon https url links, which PVD does not yet recognize and posters without Proxomitron cannot be viewed or downloaded to the database.

Bing search results don't work. If search results don't work, you can manually add  http://www.boxofficemojo.com/title/ + IMDB MovieID
It uses the same ID than IMDB.
« Last Edit: November 01, 2019, 02:02:37 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


 

anything