English > Talk

Alternative

<< < (8/15) > >>

Ivek23:
The Alfa 4 version:

IMDB_ [EN] [HTTPS] script


--- Quote from: VVV_Easy_Programing on May 27, 2018, 07:20:37 pm ---I don't understand very well, the english is a "universal" language but not easy  ;D.
Can you write me the script and the line number?
--- End quote ---

--- Quote from: Ivek23 on May 27, 2018, 04:46:46 pm ---
--- Quote ---LogMessage('      Get results Release Date:'+ItemValue+' ||');
--- End quote ---

--- End quote ---

I thought this in IMDB_ [EN] [HTTPS] script to fix it or remove it, because in the log file, then the URL address is such.


--- Quote ---(27.5.2018 22:52:26) Compiling script: IMDB_[EN][HTTPS].psf
(27.5.2018 22:52:26) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1110:47): "and True" is not needed
(27.5.2018 22:52:26) Executing script binary
(27.5.2018 22:52:26) Logging in...
(27.5.2018 22:52:26) Function GetDownloadURL BEGIN======================|
(27.5.2018 22:52:26) Global Var-Mode|0|
(27.5.2018 22:52:26) Global Var-DownloadURL||
(27.5.2018 22:52:26)       No IMDB URL.
(27.5.2018 22:52:26) Function GetDownloadURL END====================== with Mode=0 Result=D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\portable.bat|
(27.5.2018 22:52:26) Searching movie information for: 18-Year-Old Virgin
(27.5.2018 22:52:26) Function ParsePage BEGIN======================|
(27.5.2018 22:52:26) Global Var-Mode|0|
(27.5.2018 22:52:26) Global Var-DownloadURL||
(27.5.2018 22:52:26) Local Var-URL| http://ia.media-imdb.com/images/M/MV5BMjA1MTI3ODEwNF5BMl5BanBnXkFtZTcwOTA4NDUyMQ@@.jpg|
(27.5.2018 22:52:27)   ParsePage smSearch|0|. Searching DownloadURL for MovieTitle |18-Year-Old Virgin| MovieYear||
(27.5.2018 22:52:27)       Searching in Provider:|https://www.imdb.com/search/title?title=18-Year-Old+Virgin&title_type=feature&release_date=,&view=simple||
(27.5.2018 22:52:27) Function DownloadPage BEGIN======================|
(27.5.2018 22:52:27) Global Var-DownloadURL|https://www.imdb.com/search/title?title=18-Year-Old+Virgin&title_type=feature&release_date=,&view=simple|
(27.5.2018 22:52:27)    Local Var-URL| https://www.imdb.com/search/title?title=18-Year-Old+Virgin&title_type=feature&release_date=,&view=simple|
(27.5.2018 22:52:27)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:28)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/search/title?title=18-Year-Old+Virgin&title_type=feature&release_date=,&view=simple||
(27.5.2018 22:52:28)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:30)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:30)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:30) Function DownloadPage END======================|
(27.5.2018 22:52:30) Function ParsePage_IMDBSearchTitle BEGIN======================|
(27.5.2018 22:52:30) Global Var-Mode|0|
(27.5.2018 22:52:30) Global Var-DownloadURL|https://www.imdb.com/search/title?title=18-Year-Old+Virgin&title_type=feature&release_date=,&view=simple|
(27.5.2018 22:52:30)         No Movies results
(27.5.2018 22:52:30) Function ParsePage_IMDBSearchTitle END=====================||
(27.5.2018 22:52:30)         Not results or Redirection in Provider search, try with Bing
(27.5.2018 22:52:30)       Searching in Bing:| http://www.bing.com/Search?q=18-Year-Old+Virgin%20+()+site%3Ahttps://www.imdb.com/title/||
(27.5.2018 22:52:30) Function DownloadPage BEGIN======================|
(27.5.2018 22:52:30) Global Var-DownloadURL|http://www.bing.com/Search?q=18-Year-Old+Virgin%20+()+site%3Ahttps://www.imdb.com/title/|
(27.5.2018 22:52:30)    Local Var-URL| http://www.bing.com/Search?q=18-Year-Old+Virgin%20+()+site%3Ahttps://www.imdb.com/title/|
(27.5.2018 22:52:30)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:31)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|http://www.bing.com/Search?q=18-Year-Old+Virgin%20+()+site%3Ahttps://www.imdb.com/title/||
(27.5.2018 22:52:31)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:33)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:34)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:34) Function DownloadPage END======================|
(27.5.2018 22:52:34) Function ParsePage_BingSearch BEGIN======================|
(27.5.2018 22:52:34) Global Var-Mode|0|
(27.5.2018 22:52:34) Global Var-DownloadURL|http://www.bing.com/Search?q=18-Year-Old+Virgin%20+()+site%3Ahttps://www.imdb.com/title/|
(27.5.2018 22:52:34)       BASE_URL_PRE results detectes.
(27.5.2018 22:52:34)     Parsing search movie results in 44 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:Video 2009||
(27.5.2018 22:52:34)     Parsing search movie results in 1116 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:Video 2009||
(27.5.2018 22:52:34)     Parsing search movie results in 1736 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:Video 2009||
(27.5.2018 22:52:34)     Parsing search movie results in 2324 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:Video 2009||
(27.5.2018 22:52:34)     Parsing search movie results in 2921 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:2009||
(27.5.2018 22:52:34)     Parsing search movie results in 3498 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)     Parsing search movie results in 4141 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:Video 2009||
(27.5.2018 22:52:34)     Parsing search movie results in 4777 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:Video 2009||
(27.5.2018 22:52:34)     Parsing search movie results in 5340 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:2009||
(27.5.2018 22:52:34)     Parsing search movie results in 5841 ...
(27.5.2018 22:52:34)       Parse Results URL:https://www.imdb.com/title/tt00001294969/||
(27.5.2018 22:52:34)       Parse Results Title:18-Year-Old Virgin||
(27.5.2018 22:52:34)       Parse Results in Year:Video 2009||
(27.5.2018 22:52:34)       After parsing Bing search Movies go to choose List Results
(27.5.2018 22:52:34) Function ParsePage_BingSearch END=====================||
(27.5.2018 22:52:34) Function ParsePage smSearchList END======================|
(27.5.2018 22:52:39) GET: http://www.jsontest.com/ https://www.imdb.com/title/tt1294969/
(27.5.2018 22:52:40) Function ParsePage BEGIN======================|
(27.5.2018 22:52:40) Global Var-Mode|8|
(27.5.2018 22:52:40) Global Var-DownloadURL|http://www.bing.com/Search?q=18-Year-Old+Virgin%20+()+site%3Ahttps://www.imdb.com/title/|
(27.5.2018 22:52:40) Local Var-URL| http://www.jsontest.com/ https://www.imdb.com/title/tt1294969/|
(27.5.2018 22:52:40)   ParsePage mode smSearchList. Getting DownloadURL from the return of smSearchList
(27.5.2018 22:52:40)      Global Var-DownloadURL| httpss://www.imdb.com/title/tt1294969/|
(27.5.2018 22:52:40)      With the good movie URL it demand download the movie page
(27.5.2018 22:52:40)   ParsePage mode smNormal|1|. Getting provider data for MovieID||
(27.5.2018 22:52:40)       Get result url:httpss://www.imdb.com/title/tt1294969/||
(27.5.2018 22:52:40) Function DownloadPage BEGIN======================|
(27.5.2018 22:52:40) Global Var-DownloadURL|httpss://www.imdb.com/title/tt1294969/|
(27.5.2018 22:52:40)    Local Var-URL| httpss://www.imdb.com/title/tt1294969/|
(27.5.2018 22:52:40)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:41)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|httpss://www.imdb.com/title/tt1294969/ ||
(27.5.2018 22:52:41)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:43)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:45)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:47)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:49)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:55)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:57)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:52:59)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:01)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:03)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:07) Function DownloadPage END with NOT INTERNET connection ===============|
(27.5.2018 22:53:07) Function ParsePage_IMDBMovieBASE BEGIN======================|
(27.5.2018 22:53:07) Function ParsePage_IMDBMovieBASE END=====================||
(27.5.2018 22:53:07) Function DownloadPage BEGIN======================|
(27.5.2018 22:53:07) Global Var-DownloadURL|https://www.imdb.com/title//releaseinfo?ref_=tt_dt_dt#akas|
(27.5.2018 22:53:07)    Local Var-URL| https://www.imdb.com/title//releaseinfo?ref_=tt_dt_dt#akas |
(27.5.2018 22:53:07)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title//releaseinfo?ref_=tt_dt_dt#akas||
(27.5.2018 22:53:07)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:09)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:09)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:09) Function DownloadPage END======================|
(27.5.2018 22:53:09) Function ParsePage_IMDBMovieAKA BEGIN=====================||
(27.5.2018 22:53:09)       Get results aka: ||
(27.5.2018 22:53:09) Function ParsePage_IMDBMovieAKA END=====================||
(27.5.2018 22:53:09) Function DownloadPage BEGIN======================|
(27.5.2018 22:53:09) Global Var-DownloadURL|https://www.imdb.com/title//fullcredits?ref_=tt_cl_sm#cast|
(27.5.2018 22:53:09)    Local Var-URL| https://www.imdb.com/title//fullcredits?ref_=tt_cl_sm#cast|
(27.5.2018 22:53:09)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:10)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title//fullcredits?ref_=tt_cl_sm#cast||
(27.5.2018 22:53:10)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:12)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:12)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:12) Function DownloadPage END======================|
(27.5.2018 22:53:12) Function ParsePage_IMDBMovieCREDIT BEGIN=====================||
(27.5.2018 22:53:12) Function ParsePage_IMDBMovieCREDIT END=====================||
(27.5.2018 22:53:12) Function DownloadPage BEGIN======================|
(27.5.2018 22:53:12) Global Var-DownloadURL|https://www.imdb.com/title//awards?ref_=tt_awd|
(27.5.2018 22:53:12)    Local Var-URL| https://www.imdb.com/title//awards?ref_=tt_awd|
(27.5.2018 22:53:12)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:13)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title//awards?ref_=tt_awd ||
(27.5.2018 22:53:13)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:15)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:15)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:15) Function DownloadPage END======================|
(27.5.2018 22:53:15) Function ParsePage_IMDBMovieAWARDS BEGIN=====================||
(27.5.2018 22:53:15) Function ParsePage_IMDBMovieAWARDS END=====================||
(27.5.2018 22:53:15) Function DownloadPage BEGIN======================|
(27.5.2018 22:53:15) Global Var-DownloadURL|http://www.imdb.com/title//parentalguide?ref_=tt_stry_pg#certification|
(27.5.2018 22:53:15)    Local Var-URL| http://www.imdb.com/title//parentalguide?ref_=tt_stry_pg#certification |
(27.5.2018 22:53:15)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:16)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|http://www.imdb.com/title//parentalguide?ref_=tt_stry_pg#certification||
(27.5.2018 22:53:16)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:18)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:18)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(27.5.2018 22:53:18) Function DownloadPage END======================|
(27.5.2018 22:53:18) Function ParsePage_IMDBMovieMPAA BEGIN=====================||
(27.5.2018 22:53:18)       MPAA.USA.Corrected:||
(27.5.2018 22:53:18)       Get result MPAA=||
(27.5.2018 22:53:18) Function ParsePage_IMDBMovieMPAA END=====================||
(27.5.2018 22:53:18)     Provider data info retreived Ok in 2018-05-27 22:53:18|
(27.5.2018 22:53:18) Function ParsePage NORMAL END======================|
--- End quote ---

Then this happens when you want to verify the url address.

--- Quote from: Ivek23 on May 27, 2018, 04:46:46 pm ---I have LogMessage a small beauty note, which is most unpleasant for url addresses, because on a web site designated url address then the browser can not find. The LogMessage code is supposed to be the one below for the case.
--- End quote ---

There is still this error in IMDB_ [EN] [HTTPS] script, which needs to be resolved when the script using the Bing search then passes the URL address.
--- Quote ---There was also an error in downloading the URL of the address, shown in the code below.

--- Quote ---//Parse return of 'SearchList Movie URL'-----------------------------------------------------------------------
    If (Mode=smSearchList) Then Begin       //The user have choose the link.
        LogMessage('  ParsePage mode smSearchList. Getting DownloadURL from the return of smSearchList');
      DownloadURL:=StringReplace(URL,CHEAT_PREFIX_URL,'',True,False,False);   //Eliminate the CHEAT_PREFIX_URL for get the true movie link
        DownloadURL:=StringReplace(DownloadURL,'http','https',True,True,False); //The direct url needed (no https redirection)
        DownloadURL:=StringReplace(DownloadURL,'httpss','https',True,True,False); //The direct url needed (no https redirection)        
        LogMessage('     Global Var-DownloadURL|'+DownloadURL+'|');
        Mode:=smNormal;
        Result:=prDownload;  //But not exit needed for download the page because is HTTPS
        LogMessage('     With the good movie URL it demand download the movie page');
    End;
--- End quote ---

--- End quote ---

This is an example of the 18-year-old Virgin movie title, the displays such a url address.

httpss://www.imdb.com/title/tt1294969/

Ivek23:
The Alfa 4 version:

IMDB_ [EN] [HTTPS] script

My version of IMDB_ [EN] [HTTPS] script, which was supposed to work, has added some additional information for Sound Mix, Color, Aspect Ratio, Gross USA and Language.
 
I fixed the code for Runtime.

--- Code: ---    //Get ~lenght~ (User option GET_LENGTH)
    //If GET_LENGTH Then Begin
       curPos:=Pos('<h4 class="inline">Runtime:</h4>',HTML);                                      //WEB_SPECIFIC.
       If 0<curPos Then Begin 
          //ItemValue:=TextBetWeen(HTML,'<time itemprop="duration" datetime="PT','M">',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC
          ItemValue:=TextBetWeen(HTML,'M">',' min</time>',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC
          //AddFieldValueXML('lenght',IntToStr(StrToInt(ItemValue)*60));
          AddFieldValue(mfDuration,ItemValue);
          AddCustomFieldValueByName('IMDB_Run Time',ItemValue);
          LogMessage('      Get result lenght:'+ItemValue+'||');
       End;
    //End;
--- End code ---

Script has been added.

VVV_Easy_Programing:
The Alfa 5 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.5.zip

Corrected the error of httpss (see below). The basic movie scripts are finish. Before traslations I'm going adapt the people scripts.

Remember run with "portable.bat" (that is with the debug mode set in this test version).
If you have problems, please post the two files:
               PersonalVideoDB\log.txt   and   PersonalVideoDB\Scripts\PVdBDownPage.log

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------
Ivek23: The hint to correct de httpss problema is just in the line over your correction:

--- Quote ---DownloadURL:=StringReplace(DownloadURL,'http','https',True,True,False); //The direct url needed (no https redirection)
--- End quote ---
It works for http:// url's but in the https:// url's you get httpss://. This happens in other parts. I changed the code including the ':'
DownloadURL:=StringReplace(DownloadURL,'http:','https:',True,True,False); //The direct url needed (no https redirection).
Ivek23:

--- Quote ---My version of IMDB_ [EN] [HTTPS] script, which was supposed to work, has added some additional information for Sound Mix, Color, Aspect Ratio, Gross USA and Language.
--- End quote ---
Let me think that. There are several solutions:
1) Expand the GET_LENGHT option to this other infos (for the users that don't want the info of the "fisical" own copy of the movie)
2) Create new customs fields: I don't like this for a basic MOD versión because is a very particular use.
Personaly, I prefer the first option. I'll do after the people scripts.


afrocuban:
The programa detectes well your Windows "WIN_7" (the same as Ivek) but it seems that curl don't work well in yours computer.
In order to verify curl, can you run in Script folder with the cmd window (the MS-DOS window) the next command:

curl.exe -o downpage.htm https://www.imdb.com/title/tt1294969/

You should see that the page is downloaded and saved in the file "downpage.htm"
Other thing, can you post the path of the Script folder when you do the PVD MOD test? is in order to detect if there are any char (espace, language, etc) that provoque the error.


afrocuban:

--- Quote from: VVV_Easy_Programing on May 28, 2018, 08:37:25 pm ---The Alfa 5 version:

afrocuban:
The programa detectes well your Windows "WIN_7" (the same as Ivek) but it seems that curl don't work well in yours computer.
In order to verify curl, can you run in Script folder with the cmd window (the MS-DOS window) the next command:

curl.exe -o downpage.htm https://www.imdb.com/title/tt1294969/

You should see that the page is downloaded and saved in the file "downpage.htm"


--- End quote ---

Dear Easy

As you asked, I verified that curl is working with no problems from the command line (checked with ConEMUx64 as admin as well as in regular cmd.exe as user). downpage.htm downloaded perfectly, so curl is working, right?



--- Quote from: VVV_Easy_Programing on May 28, 2018, 08:37:25 pm ---Other thing, can you post the path of the Script folder when you do the PVD MOD test? is in order to detect if there are any char (espace, language, etc) that provoque the error.

--- End quote ---

Testing location was D:\Desktop\Poster\PVD MOd\PersonalVideoDB\Scripts. So, there is a space in "PVD MoD" folder name.

That is why I tested PVD in C:\PersonalVideoDB\

The result is somewhat better: TheMoveDB works flawless again, FA imports data, and FA New Releases and IMDB crash PVD. IMDB finds the movie, but crashes PVD when trying to import data. Strange thing that in one trial http://www.jsontest.com/ was imported as movie url.

So basically, it seems that the MOD doesn't support spaces in folder names, and still IMDB script from C:\PersonalVideoDB\Scripts folder (without spaces) still not working for me.

Best regards and thank you so much for your hard work.

VVV_Easy_Programing:
The Alfa 6 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.6.zip

Corrected the error of spaces in PVD path and others littles improvements. TheMovieDB People script included.

Remember run with "portable.bat" (that is with the debug mode set in this test version).
We entry in the script debug so: If you have problems, please is very important the name of the movie and attach the file: PersonalVideoDB\log.txt   

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------

afrocuban:
I think I have corrected the problem with the spaces in the PVD path, so if it works for you we can pass to Beta version.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version