Personal Video Database alternate Forum it is NOW online again.
0 Members and 3 Guests are viewing this topic.
First, I'm wondering if the IMDB_ [EN] [HTTPS] (afrocuban) script is working properly.
CHANGE LOG : V 1.4.1.4 (19/10/2020) Ivek23: ParsePage_IMDBMovieCREDIT (Full Cast and Crew section) = Corrected parts of the code.
Quote from: Ivek23 on October 21, 2020, 07:07:38 amFirst, I'm wondering if the IMDB_ [EN] [HTTPS] (afrocuban) script is working properly.It works great for the movies and episodes. It doesn't import directors for the series, though.
This is the screenshot of Modern Family series (not episode(s)). We see directors of all episodes there. I can't remember how to get that. Thank you in advance.
and it still doesn't import non-Latin (titles in cyrillic, in my case)...
CODE_PAGE =65001 ; //28591=ISO 8859-1 Latin 1; Western European (ISO). Use: 65001=Unicode (UTF-8) | 0=for Autodetect Autodetect ...Function DownloadPage(URL:AnsiString):String; //BlockOpen//Returns the URL page text. If error returns empty string Var i:Integer; ScriptPath,WebText:String; Begin LogMessage(Chr(9)+Chr(9)+'Function DownloadPage BEGIN======================|'); LogMessage(Chr(9)+Chr(9)+'Global Var-DownloadURL|'+DownloadURL+'|'); LogMessage(Chr(9)+Chr(9)+' Local Var-URL|'+URL+'|'); ScriptPath:=GetAppPath+'Scripts\'; //LogMessage(Chr(9)+Chr(9)+' Local Var-ScriptPath|'+ScriptPath+'|'); //Delete the ancient dowloaded page file. Needed for wait to curl download included in PowerShell command. While FileExists(ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM) Do Begin FileExecute('cmd.exe', '/C del "'+ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM+'"'); LogMessage(Chr(9)+Chr(9)+' Waiting 1s for delete:'+ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM); wait (1000); End; //Download the URL page. LogMessage(Chr(9)+Chr(9)+' Download with PVdBDownPage in file:|'+ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM+' the information of:|'+URL+'||'); FileExecute(ScriptPath+'PVdBDownPage.exe', '"'+URL+'" "'+ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM+'"'); //Wait download finish and exist the downloaded page. i:=0; // INTERNET_TEST_ITERATIONS While Not(FileExists(ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM)) Do Begin LogMessage(Chr(9)+Chr(9)+' Waiting 2s for exists of:'+ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM); wait (2000); i:=i+1; If i=INTERNET_TEST_ITERATIONS Then Begin if 2=MessageBox('Too many faulty attempts to internet connection.'+Chr(13)+ 'Retry or Cancel?',SCRIPT_NAME,5) then begin LogMessage(Chr(9)+Chr(9)+'Function DownloadPage END with NOT INTERNET connection ===============|'); Result:=''; Exit; End; i:=0; End; End; LogMessage(Chr(9)+Chr(9)+' Now present complete page file: '+ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM); WebText:=FileToString(ScriptPath+BASE_DOWNLOAD_FILE_NO_BOM); WebText:=ConvertEncoding(WebText, ); //65001 utf-8 Unicode (UTF-8) ---> https://msdn.microsoft.com/en-us/library/dd317756(VS.85).aspxbrary/dd317756(VS.85).aspx //LogMessage(Chr(9)+Chr(9)+' Local Var-WebText|'+WebText+'|'); //Debug statement Result:=WebText;
CODE_PAGE =65001 ;
CODE_PAGE =0 ;
CODE_PAGE =28595 ;
The IMDB_ [EN] [HTTPS] script only downloads the Cast section for the series, so the IMDB_ [EN] (HTTPS] (series) or IMDB_ [EN] [HTTPS] (series) (Miguelh1020) script must be used.Now this should be done using scripts for the series.
Unfortunately, not a single IMDb script import directors of the series for me. I tried them all. Does it import directors for you?
28595 works for me to import cyrillic, but then it doesn't work to import Latin. I am absolutely positive that 65001 worked for me in the past. What could went wrong in the meantime, do you have any idea?
CODE_PAGE =0 ; // 0=for Autodetect Autodetect
CODE_PAGE =1252 ;
1250 windows-1250 ANSI Central European; Central European (Windows)1251 windows-1251 ANSI Cyrillic; Cyrillic (Windows)1252 windows-1252 ANSI Latin 1; Western European (Windows)
This is what I get in Cinema1:<link url="http://www.allmovie.com/movie/the-devil-all-the-time-v724198 http://www.filmaffinity.com/en/film267933.html http://www.imdb.com/title/tt7395114/fullcredits">Full Cast&Crew info names</link>
This is what I get in Cinema1:... • Directed by • Writing Credits • Cast (in credits order) • Produced by • Music by • Cinematography by • Film Editing by • Casting By • Production Design by • Art Direction by • Set Decoration by • Costume Design by • Makeup Department • Production Management • Second Unit Director or Assistant Director • Art Department • Sound Department • Special Effects by • Visual Effects by • Stunts • Camera and Electrical Department • Casting Department • Costume and Wardrobe Department • Editorial Department • Location Management • Music Department • Script and Continuity Department • Transportation Department • Additional Crew • ThanksIs this working correctly?
CHANGE LOG : V 1.4.1.5 (27/10/2020) Ivek23: ParsePage_IMDBMovieCREDIT (Full Cast and Crew section) = Corrected parts of the code. See the forum post: http://www.videodb.info/forum_en/index.php/topic,4134.msg21196.html#msg21196
Thanks Ivek.So is this how it is supposed Cinema1 to contain only occupations, and not names? What would be the purpose of this field then, except for the link to full credits? Can you please upload a screenshot of this field from your database? I'd just like to compare yours and mine...
Thanks Ivek! My Cinema field looks the same, as well. Still, I don't get it what's the purpose of Cinema1 field? Can you please explain it, or put a link where it is explained? Thanks in advance!
Quote from: afrocuban on November 01, 2020, 03:01:54 amThanks Ivek! My Cinema field looks the same, as well. Still, I don't get it what's the purpose of Cinema1 field? Can you please explain it, or put a link where it is explained? Thanks in advance!More info at the link below.http://www.videodb.info/forum_en/index.php/topic,4134.msg20890.html#msg20890
//GET_CREW_CREDIT = True ; //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page. GET_CREW_CREDIT = True ; //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page. GET_FULL_CREW_CREDIT = True ; //Download Cast and Credit provider page for retreive the more some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers and Cinematography + (GET_CREW_CREDIT = True) info of the Cast and Credit provider page.
Camera and Electrical Department Philippe Brun ... cameraman: second unitRené Chabal ... assistant cameraman (as Rene Chabal)Gilbert Chain ... cameramanRoger Corbeau ... stillsmanMax Lechevallier ... assistant cameramanRaymond Picon-Borel ... cameraman: second unitCostume and Wardrobe Department Theoni V. Aldredge ... costumes (as Denny Vachlioti)Editorial Department Patrick Clement-Bayard ... editor assistantJohnny Dwyre ... editor assistantDaniele Grimberg ... editor assistant (as Danielle Grimberg)Additional Crew Jean Fouchet ... main titleLucie Lichtig ... script
//GET_CREW_CREDIT = False ; //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page. GET_CREW_CREDIT = True ; //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page. GET_FULL_CREW_CREDIT = True ; //Download Cast and Credit provider page for retreive the more some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers and Cinematography + (GET_CREW_CREDIT = True) info of the Cast and Credit provider page.
Now I get it that actually this field isn't for full credits as seen on original IMDb page. Names are imported in Cinema field, and Cinema1 shows all possible fields which can be imported to Cinema, as I understand.
QuoteCamera and Electrical Department Philippe Brun ... cameraman: second unitRené Chabal ... assistant cameraman (as Rene Chabal)Gilbert Chain ... cameramanRoger Corbeau ... stillsmanMax Lechevallier ... assistant cameramanRaymond Picon-Borel ... cameraman: second unitCostume and Wardrobe Department Theoni V. Aldredge ... costumes (as Denny Vachlioti)Editorial Department Patrick Clement-Bayard ... editor assistantJohnny Dwyre ... editor assistantDaniele Grimberg ... editor assistant (as Danielle Grimberg)Additional Crew Jean Fouchet ... main titleLucie Lichtig ... script
5. Cast & Crew field info names: • Directed by • Writing Credits // NO (WGA) • Cast (in credits order) // Only data info in normal Actors field • Produced by • Music by • Cinematography by • Film Editing by • Casting By • Production Design by • Art Direction by • Set Decoration by • Costume Design by • Production Management • Second Unit Director or Assistant Director • Special Effects by • Visual Effects by • Casting Department • Location Management • Music Department • Thanks