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

0 Members and 1 Guest are viewing this topic.

Offline jippo

  • Member
  • *
  • Posts: 20
    • 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: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline jippo

  • Member
  • *
  • Posts: 20
    • 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: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline jippo

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

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline jippo

  • Member
  • *
  • Posts: 20
    • 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: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline jippo

  • Member
  • *
  • Posts: 20
    • 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: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline jippo

  • Member
  • *
  • Posts: 20
    • 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: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • 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 7 32bit, 64bit   PVD v0.9.9.21


 

anything