Personal Video Database

English => Development => Scripts and Templates => Topic started by: Ivek23 on February 07, 2012, 02:01:50 pm

Title: People imdb script: additional information
Post by: Ivek23 on February 07, 2012, 02:01:50 pm
Simpe People imdb script with additional information

Here is People imdb script with additional information which is People imdb plugin not transferred.

Additional information is transferred to the Comment field, except Alternate Names is transferred to the Alternative Names field.

Genre index [Imdb People(genre) script] is transferred to the Genre field.


Additional information:
Added is also link to the Biography, Awards and Genre site. Also added a few url links to some sites where information and photo galleries of people, if those links exist on Imdb External pages.

NOTICE:

Entries have already been      -    the black color
Entries are added      -     the blue color
Entries are removed      -    the red color




There (http://www.videodb.info/forum_en/index.php/topic,3112.0.html#new) is added a more extensive People imdb script with additional information which will come to full force only when the PVD also support custom fields for the people.



There is also added Imdb People(genre) and IMDb People Photo Script.



For guests :
All of these scripts for download can be found in IMDB People Links topic.

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



For guests :
 There below is a link to the Russian part of the forum where you can get:

---------------------------------

Imdb People script

http://www.videodb.info/forum_ru/index.php/topic,753.msg14734.html#msg14734

Imdb People(genre) script

http://www.videodb.info/forum_ru/index.php/topic,753.msg14735.html#msg14735

IMDb People Photo Script

http://www.videodb.info/forum_ru/index.php/topic,753.msg14527.html#msg14527

Title: Re: People imdb script: additional information
Post by: rick.ca on February 08, 2012, 01:17:43 am
Nice work. Thanks!
Title: Re: People imdb script: additional information
Post by: Ivek23 on February 08, 2012, 05:51:18 pm
Nice work. Thanks!

Thank you, rick.
Title: Re: People imdb script: additional information
Post by: Ivek23 on February 11, 2012, 01:50:52 pm
I fixed only the code for Search Result.

Script is the first post attached.

Here is a script archive attached.

[attachment deleted by admin]
Title: Re: People imdb script: additional information
Post by: woland68 on April 07, 2012, 06:37:29 pm
 :) Hello Ivek32, and can add these other fields

Actress - TV:
Actress - video:
Self - TV:
Additional Details
Other Works:
Publicity Listings:


http://www.imdb.com/name/nm0253414/filmotype


  (http://img275.imagevenue.com/loc538/th_820047145_thisfields_122_538lo.jpg) (http://img275.imagevenue.com/img.php?image=820047145_thisfields_122_538lo.jpg)
     

thanks
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 08, 2012, 07:19:28 am
:) Hello Ivek32, and can add these other fields

Actress - TV:
Actress - video:
Self - TV:
Additional Details
Other Works:
Publicity Listings:


http://www.imdb.com/name/nm0253414/filmotype


  (http://img275.imagevenue.com/loc538/th_820047145_thisfields_122_538lo.jpg) (http://img275.imagevenue.com/img.php?image=820047145_thisfields_122_538lo.jpg)
     

thanks

I'm sorry, I must disappoint you. Not yet,
because PVD does not yet support custom fields for the people
and it is possible in the future as mentioned
which will come to full force only when the PVD also support custom fields for the people.
So far it does not work properly in the transfer of data info in the comment box, is verified and tested, because I tried this
Quote
Filmography
Jump to filmography as: Actress, Actress - TV, Actress - video, Self - TV
added in the comment box, however, there was no proper transfer of data.
Title: Re: People imdb script: additional information
Post by: woland68 on April 08, 2012, 07:31:13 am
 :( Ok Thank,

I understand,

another question

I tried using the script imdb_people, you changed, enter the data, but unfortunately does not add the filmography, I have to do this:
1: imdb_people script (for additional details) no filmography
2: imdb script (for more information + filmography)
you can integrate scripts imdb_people + imdb to speed data entry?

thanks

sorry for my english (I'm Italian)
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 08, 2012, 12:05:34 pm
:( Ok Thank,

I understand,

another question

I tried using the script imdb_people, you changed, enter the data, but unfortunately does not add the filmography, I have to do this:
1: imdb_people script (for additional details) no filmography
2: imdb script (for more information + filmography)
you can integrate scripts imdb_people + imdb to speed data entry?

thanks

sorry for my english (I'm Italian)

If I understood correctly, is now using so imdb_people script specifically as also imdb people plugin specifically, we would like to have both simultaneously in use. This is the smallest problem, makes the batch file and both will work simultaneously (one connects to another). That does not would be problems, I add my batch file for an example of how this works for me and how you can make yourself similar batch file for connection with, among others script and plugin.

People imdb Full batch file in zip format attached.

[attachment deleted by admin]
Title: Re: People imdb script: additional information
Post by: woland68 on April 08, 2012, 12:55:44 pm
 ??? works, but when you download the photo of actor and in low resolution.
tested
1) imdb  [high-resolution photo]
2) imdb+script batch [low-res photos]

Solution?  ::)

screen

High resolution [Script Imdb [ENG]

  (http://img221.imagevenue.com/loc1056/th_884967540_photohigresolution1_122_1056lo.jpg) (http://img221.imagevenue.com/img.php?image=884967540_photohigresolution1_122_1056lo.jpg)

Low resolution [Script Imdb+Imdb_people

(http://img166.imagevenue.com/loc535/th_884974595_photolowresolution1_122_535lo.jpg) (http://img166.imagevenue.com/img.php?image=884974595_photolowresolution1_122_535lo.jpg)
     
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 08, 2012, 02:42:41 pm
??? works, but when you download the photo of actor and in low resolution.
tested
1) imdb  [high-resolution photo]
2) imdb+script batch [low-res photos]

Solution?  ::)

screen

High resolution [Script Imdb [ENG]

  (http://img221.imagevenue.com/loc1056/th_884967540_photohigresolution1_122_1056lo.jpg) (http://img221.imagevenue.com/img.php?image=884967540_photohigresolution1_122_1056lo.jpg)

Low resolution [Script Imdb+Imdb_people

(http://img166.imagevenue.com/loc535/th_884974595_photolowresolution1_122_535lo.jpg) (http://img166.imagevenue.com/img.php?image=884974595_photolowresolution1_122_535lo.jpg)
   

This was due to transfer photos from the Biography Page or Genre index page.
Yes, it is a solution. Now I disabled the transfer of photos to these pages. Here is also available on the revised Imdb People extra script.

Imdb People extra script attached.



Notice:

I have not repaired Imdb Extra People, because the PVD Does not yet support custom fields for the People.

All you need to pass the current script, script is here. (http://www.videodb.info/forum_en/index.php/topic,3114.0.html)

[attachment deleted by admin]
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 08, 2012, 02:52:53 pm
Or, in your script do this
Code: [Select]
procedure ParseBiography(BiographyURL : String; HTML : String);
var
curPos, endPos: Integer;
Name, URL, TmpStr, TmpStr1, TmpStr2, TmpStr3, TmpStr4 : String;
begin

fullinfo2 := fullinfo1+fullinfo2;
fullinfo2 := fullinfo2;

//Get ~Biography URL~
endPos := Pos('"og:url" content="', HTML);
if endPos > 0 then begin
curPos := PrevPos('<link rel="canonical" href="', HTML, endPos);
ExtraLinks[smBiography] := Copy(HTML, curPos+28, endPos - curPos-47);
fullinfo2 := fullinfo2 + '<link url="' + ExtraLinks[smBiography] + '">Biography Page</link>'+ #13 ;
LogMessage(fullinfo2);
end;

(*
//~Poster~
curPos := PosFrom('><img border="0" src="', HTML, endPos);
if curPos > 0 then begin
curPos := curPos + Length('><img border="0" src="');
endPos := PosFrom('" ', HTML, curPos);
ExtraLinks[smPoster] := Copy(HTML, curPos, EndPos - curPos);
end;
*)

// Biography Page
and this
Code: [Select]
procedure ParseGenreindex(GenreindexURL : String; HTML : String);
var
curPos, endPos: Integer;
Name, URL, TmpStr, TmpStr1, TmpStr2, TmpStr3, TmpStr4 : String;
begin

//Get ~Genre index URL~
endPos := Pos('"og:url" content="', HTML);
if endPos > 0 then begin
curPos := PrevPos('<link rel="canonical" href="', HTML, endPos);
ExtraLinks[smGenreindex] := Copy(HTML, curPos+28, endPos - curPos-47);
end;

(*
//~Poster~
curPos := PosFrom('><img border="0" src="', HTML, endPos);
if curPos > 0 then begin
curPos := curPos + Length('><img border="0" src="');
endPos := PosFrom('" ', HTML, curPos);
ExtraLinks[smPoster] := Copy(HTML, curPos, EndPos - curPos);
end;
*)

//~Genre index~
  well, and the same will result.

Here is the updated code for ParseSearchResult
Code: [Select]
procedure ParseSearchResults(HTML : String);
var
curPos, endPos : Integer;
Name, Name1, URL, Preview : String;
begin
curPos := Pos('<div id="content-2-wide">', HTML);
if curPos < 1 then
Exit;

LogMessage('Parsing search results...');

    curPos  := PosFrom('"><img src="', HTML, curPos)+12;
endPos  := PosFrom('.jpg" width="23" height="32" border="0">', HTML, curPos);
Preview := Trim(Copy(HTML, curPos, endPos - curPos));
curPos := PosFrom('<a href="/name/', HTML, curPos);
while curPos > 0 do begin
endPos := PosFrom('" onclick="(new Image()).src=', HTML, curPos);
URL := Trim(Copy(HTML, curPos+9, endPos - curPos-9));
URL := BASE_URL + URL;
curPos := PosFrom('">', HTML, curPos)+2;
endPos := PosFrom('</small>', HTML, curPos);
Name := RemoveTags(Trim(Copy(HTML, curPos, endPos - curPos)), false);
    curPos  := PosFrom('"><img src="', HTML, curPos)+12;
endPos  := PosFrom('.jpg" width="23" height="32" border="0">', HTML, curPos);
Preview := Trim(Copy(HTML, curPos, endPos - curPos));
AddSearchResult(Name, '', '', URL, '');
curPos := PosFrom('<a href="/name/', HTML, curPos);
 end;
end;
Title: Re: People imdb script: additional information
Post by: woland68 on April 08, 2012, 03:45:13 pm
 :) Now work well

Thank you

Grazie

 ??? ??? ???

Is there a script for people to import photos?
example Google or Bing
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 08, 2012, 05:57:24 pm
Is there a script for people to import photos?
example Google or Bing

For Google or Bing the answer is no, except for the manual transfer of files from web pages. Yes, there are ImdbImage to transfer photos from Imdb.

ImdbImage attached.



[attachment deleted by admin]
Title: Re: People imdb script: additional information
Post by: woland68 on April 08, 2012, 06:30:43 pm
 ???
I tried, it only matters a photo, the others are outside the database

I do not understand how many pictures are exported to a person

have screens to explain the procedure?
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 09, 2012, 06:31:13 am
???
I tried, it only matters a photo, the others are outside the database

I do not understand how many pictures are exported to a person

have screens to explain the procedure?

Since PVD for people does not support photos on same way as it supports the posters for movies is required each time especially any photo of people save in this folder (for example, in folder PVD People Photo) on computer or disk, before being transferred to the next photo people. Once you have all the photos of people you like, be any photo of people especially in the photo box people which photos you already have stored in a folder.

An example of a person: John Wayne
Pictures attached.


[attachment deleted by admin]
Title: Re: People imdb script: additional information
Post by: woland68 on April 09, 2012, 07:00:24 am
 :( this procedure, and long and complicated, I know other programs to catalog films, which make the download of the photo of a person automatically,
because this program does not do this too?
It has lots of potential, but still immature in structure and organization of data
Title: Re: People imdb script: additional information
Post by: rick.ca on April 09, 2012, 08:07:47 am
Quote
It has lots of potential, but still immature in structure and organization of data

I disagree. It's not intended for collecting photos of people. Their primary purpose is for identification. I limit the number of people added to my database, and I still have over 15,000. I certainly do not want more than one added automatically. For a small portion of those, I do collect some high quality photos. In those cases, the photos are hand-picked. Using the beta version, I can copy them from wherever I find them and paste them to the container—it doesn't get easier than that. The result can then be shown as one photo and/or an image list—anywhere in the skin. While there will always be ways to improve it, the program seems the opposite of "immature" to me.
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 09, 2012, 09:40:23 am
Quote
It has lots of potential, but still immature in structure and organization of data

I disagree. It's not intended for collecting photos of people. Their primary purpose is for identification. I limit the number of people added to my database, and I still have over 15,000. I certainly do not want more than one added automatically. For a small portion of those, I do collect some high quality photos. In those cases, the photos are hand-picked. Using the beta version, I can copy them from wherever I find them and paste them to the container—it doesn't get easier than that. The result can then be shown as one photo and/or an image list—anywhere in the skin. While there will always be ways to improve it, the program seems the opposite of "immature" to me.

Thank you, Rick for further clarifications.
Title: Re: People imdb script: additional information
Post by: Ivek23 on May 07, 2012, 04:18:12 pm
In my People database is visible around 2400 people.

After lengthy testing is here corrected People imdb script (final testing were conducted on about 400 people). We welcome any feedback about the script (how the script works or, if they have any problems with the transfers of information).

07/05/2012
People imdb script v0.1.1.1


Corrections:

In ParsePeople:
- Corrected transposition of age
- Added Filmography Index


In ParseBiography:
- Repair all items, especially in Nickname ​​and Spouse and added links (visible below and to the attached images).

Example: Bill Clinton - attached image
Quote
Nickname:  The Man From Hope (Arkansas), Bubba , the Compromiser in Chief , Secretariat , The Wizard of "Is" , The Comeback Kid , Slick Willie , The first black president (given to him by <link url="http://www.imdb.com/name/nm0607339/">Toni Morrison</link>)

Example: Chevy Chase  - attached image
Quote
Spouse:  <link url="http://www.imdb.com/name/nm1903539/">Jayni Chase</link>,  (<link url="http://www.imdb.com/date/06-19/">19 June</link> 1982 - present) 3 children, <link url="http://www.imdb.com/name/nm0137509/">Jacqueline Carlin</link>,  (<link url="http://www.imdb.com/date/12-04/">4 December</link> 1976 - <link url="http://www.imdb.com/date/11-14/">14 November</link> 1980) (divorced), Susan Hewitt,  (<link url="http://www.imdb.com/date/02-23/">23 February</link> 1973 - <link url="http://www.imdb.com/date/02-01/">1 February</link> 1976) (divorced)


- Added Filmography by type
- Corrections ParseSearchResults


Removed:

In ParseBiography:
- Removed photo code


Currently Imdb People script in first post attached.

BTW: woland68,
Actress - TV:
Actress - video:
Self - TV:
Additional Details
Other Works:
Publicity Listings:


http://www.imdb.com/name/nm0253414/filmotype
Quote
Filmography
Jump to filmography as: Actress, Actress - TV, Actress - video, Self - TV
added in the comment box, however, there was no proper transfer of data.
is only partially realized your request (added in the comment box proper transfer of data).

[attachment deleted by admin]
Title: Re: People imdb script: additional information
Post by: Ivek23 on May 07, 2012, 04:20:36 pm
Notice:

I have not repaired Imdb Extra People, because the PVD Does not yet support custom fields for the People.

All you need to pass the current script, script is here. (http://www.videodb.info/forum_en/index.php/topic,3114.0.html)
Title: Re: People imdb script: additional information
Post by: Ivek23 on May 07, 2012, 04:21:40 pm
There are some features, but for which there is nothing wrong.

Thus, for example, in ParsePeople the Career and Filmography - Career, where the data only for Career when it is on the web site there is only one word (for example, only an actor or actress).

Another specific example is the ParseBiography, where it is in certain cases appears only link to the Biography web pages.
This is because they are there such information, which the script does not transfer.

Attached images.

[attachment deleted by admin]
Title: Re: People imdb script: additional information
Post by: Ivek23 on November 10, 2013, 01:27:16 pm
Have been made many corrections.

It is also added a few url links to some sites where information and photo galleries of people, if those links exist on Imdb External pages.

10/11/2013
People imdb script v0.1.1.5

Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)

Title: Re: People imdb script: additional information
Post by: Ivek23 on December 07, 2013, 08:02:58 pm
Have been made many corrections.

It is also added a few url links to some sites where information and photo galleries of people, if those links exist on Imdb External pages.

10/11/2013
People imdb script v0.1.1.5

Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)

People imdb script v0.1.1.5 still works. The script does not transfer more correct information for people, there are more changes on the IMDB web pages.
Title: Re: People imdb script: additional information
Post by: Ivek23 on January 02, 2014, 03:55:09 pm
As currently IMDb People plugin does not transfer the photos, here is the IMDB People Photo Script as a temporary solution.

Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)
Title: Re: People imdb script: additional information
Post by: Ivek23 on June 27, 2014, 03:19:05 pm
Have been made many corrections.

Removed was


because otherwise the script does not correctly transferred information.

27/06/2014
People imdb script v0.1.2.5

Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)
Title: Re: People imdb script: additional information
Post by: Ivek23 on June 27, 2014, 03:20:02 pm
Imdb People(genre) script

To download only information of genre, is here IMDb People(genre) script:


It works well people search results.

27/06/2014
People(genre) imdb script v0.1.2.5

Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)
Title: Re: People imdb script: additional information
Post by: Ivek23 on August 17, 2014, 09:21:21 am
Imdb People(genre) script

Have been made many corrections.

17/08/2014
People(genre) imdb script v0.1.2.6

Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)
Title: Re: People imdb script: additional information
Post by: Ivek23 on August 17, 2014, 09:21:47 am
Have been made many corrections.

17/08/2014
People imdb script v0.1.2.6

Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)
Title: Re: People imdb script: additional information
Post by: Ivek23 on October 18, 2016, 12:23:41 pm
I fixed it I made a mistake, which arose from a change in the URL address of images for People (IMDB pages have begun to use Amazon safely https link for pictures).

18/10/2016
IMDb People Photo Script v0.1.2.5


Scripts is attached in the first post. (http://www.videodb.info/forum_en/index.php/topic,3114.msg15084.html#msg15084)
Title: Re: People imdb script: additional information
Post by: setget on March 29, 2018, 02:21:47 pm
Hello Ivek! Could you fix the script Imdb People.psf

Information from imdb is not imported
Title: Re: People imdb script: additional information
Post by: Ivek23 on March 31, 2018, 06:56:49 am
Hello Ivek! Could you fix the script Imdb People.psf

Information from imdb is not imported

I'm already working on this, I'm currently testing the script.

It will take a few days for this, so wait ...
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 13, 2018, 11:29:13 am
Hello Ivek! Could you fix the script Imdb People.psf

Information from imdb is not imported

I'm already working on this, I'm currently testing the script.

It will take a few days for this, so wait ...

Here is the Imdb People x script for testing and reporting any errors that will be resolved in the final version of the script.

Possible beauty mistakes that are visible in the Comment field, they are present there and are added exclusively for the transfer of all people's important information. If it were not added, the script would not transfer all relevant information.

Imdb People x script is added.
Title: Re: People imdb script: additional information
Post by: setget on April 14, 2018, 12:32:03 pm
Hello!

I noted in the picture a few of my comments about this script.
Title: Re: People imdb script: additional information
Post by: Ivek23 on April 22, 2018, 06:19:24 am
For new tests to tell if it's okay. At Biography is now also a verification number if the script transmits all the information. In the final version, if you do not want it, it's a simple option to turn it off.
Title: Re: People imdb script: additional information
Post by: afrocuban on May 09, 2018, 12:19:15 am
Thanks!
Title: Re: People imdb script: additional information
Post by: Ivek23 on May 09, 2018, 06:12:24 am
Fixed versions will be ready in a few days (hopefully), because these scripts here (which are added here) have some errors that will or have already been repaired.