Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ivek23

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 105
81
Talk / Re: Alternative
« on: May 31, 2018, 07:46:20 am »
The Alfa 6 version:

IMDB_ [EN] [HTTPS] script


IMDB_ [EN] [HTTPS] script now does not work. Log files are described by movie titles (for example - 8 Mile log).

In IMDB_ [EN] [HTTPS] script I changed the url title for BASE_URL_CAST, which is visible in the 8 Mile log file and then the script was downloaded, the script did not do this for A Good Day To Die Hard and 310 To Yuma movie.

I already found out when I added some of my additional information to the script that many times BASE_URL_CAST blocked the PVD program. When I removed the code for CAST, AWARDS and MPAA, however, the script normally transferred information, even for AKA.

I attach A Good Day To Die Hard log folder in 7z format, where the log file and my version of IMDB_ [EN] [HTTPS] scripts.

82
Talk / Re: Alternative
« on: May 28, 2018, 07:31:15 pm »
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: [Select]
    //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;

Script has been added.

83
Talk / Re: Alternative
« on: May 28, 2018, 05:12:49 am »
The Alfa 4 version:

IMDB_ [EN] [HTTPS] script


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?
Quote
LogMessage('      Get results Release Date:'+ItemValue+' ||');

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======================|

Then this happens when you want to verify the url address.
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.

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;

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

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


84
Talk / Re: Alternative
« on: May 27, 2018, 04:46:46 pm »
The Alfa 4 version:

Now, after some tests, a bit better, we will see when there are more tests.

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.

Quote
LogMessage('      Get results Release Date:'+ItemValue+' ||');

85
Talk / Re: Alternative
« on: May 27, 2018, 06:24:01 am »
It may be a mistake, but when you want to add something to IMDB_ [EN] [HTTPS] script, then it will appear a window with the request to confirm, restart or turn off the PVD. I've added a change with Notepad ++ as well as when I added the change with Notepad.

86
Talk / Re: Alternative
« on: May 26, 2018, 12:12:03 pm »
Test for PersonalVideoDB_MOD-V.Alfa_.3

FilmAffinity_[ES][HTTPS] and TheMovieDB_[EN][API] script it works ok.

IMDB_ [EN] [HTTPS] script as it is now, very rare cases that it works at all, most often a window appears asking for confirmation, restarting or turning off PVD. However, once I removed all MPAA, AKA, CAST and AWARDS data transfer pages, the situation has been significantly corrected, but there is still a window with the request to confirm, restart or turn off the PVD. There is no download of information for Release Date, Budget, Cumulative Worldwide Gross, Runtime. I add a piece of code before I download the information and after it transfers the information.

Release Date  before
Code: [Select]
    //Get ~rdate~ in contry provider local IP geolocation. See: http://sobizarre-en.blogspot.fr/2014/12/how-to-easily-defeat-imdb-geolocation.html
    curPos:=Pos('<h4 class="inline">Release Date:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Release Date:</h4>','(',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC
       AddFieldValueXML('rdate',ItemValue);
       LogMessage('      Get results Release Date:'+ItemValue+'||');
    End;
Release Date  after
Code: [Select]
    //Get ~origlang~ (several values in a comma separated list)
    curPos:=Pos('<h4 class="inline">Language:</h4>',HTML);                                      //WEB_SPECIFIC.
    if 0<curPos then begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Language:</h4>','</div>',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC
       //ItemValue:=StringReplace(ItemValue,'|',',',True,True,False);                           //Change the separator to comma
       ItemValue:=StringReplace(ItemValue, '            |        ', ', ', true, false, true);
       AddFieldValueXML('origlang',ItemValue);
       LogMessage('      Get results Language:'+ItemValue+'||');
    end;       
    //Get ~rdate~ in contry provider local IP geolocation. See: http://sobizarre-en.blogspot.fr/2014/12/how-to-easily-defeat-imdb-geolocation.html
    curPos:=Pos('<h4 class="inline">Release Date:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Release Date:</h4>','(',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC
            ItemValue:=StringReplace(ItemValue,'January','1',true,true,true);
            ItemValue:=StringReplace(ItemValue,'February','2',true,true,true);
            ItemValue:=StringReplace(ItemValue,'March','3',true,true,true);
            ItemValue:=StringReplace(ItemValue,'April','4',true,true,true);
            ItemValue:=StringReplace(ItemValue,'May','5',true,true,true);
            ItemValue:=StringReplace(ItemValue,'June','6',true,true,true);
            ItemValue:=StringReplace(ItemValue,'July','7',true,true,true);
            ItemValue:=StringReplace(ItemValue,'August','8',true,true,true);
            ItemValue:=StringReplace(ItemValue,'September','9',true,true,true);
            ItemValue:=StringReplace(ItemValue,' October ',' 10 ',true,true,true);
            ItemValue:=StringReplace(ItemValue,' November ',' 11 ',true,true,true);
            ItemValue:=StringReplace(ItemValue,' December ',' 12 ',true,true,true);
            //ItemValue:=StringReplace(ItemValue, ' ', '.', true, false, true);
            ItemValue:=StringReplace(ItemValue, ' ', #46, true, false, true);       
       AddFieldValueXML('rdate',ItemValue);
       AddCustomFieldValueByName('Imdb Release Date',ItemValue);
       LogMessage('      Get results Release Date:'+ItemValue+'||');
    End;

Runtime  before
Code: [Select]
    //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
          AddFieldValueXML('lenght',ItemValue);
          LogMessage('      Get result lenght:'+ItemValue+'||');
       End;
    End;
Runtime  after
Code: [Select]
    //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
          AddFieldValueXML('lenght',IntToStr(StrToInt(ItemValue)*60));
          LogMessage('      Get result lenght:'+ItemValue+'||');
       End;
    End;

I have a suggestion to first edit the IMDB_ [EN] [HTTPS] script to download information from the basic IMDB movie pages, but then the rest of the above pages, because this is at least in my estimation the main reason that the complete IMDB_ [EN ] [HTTPS] script, often causes a window to appear with a request to confirm, restart or turn off PVD.

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;

When I know more, I will also explain this as I do now.
 

87
Scripts and Templates / Re: Script editing with NotePad++
« on: May 24, 2018, 06:00:40 am »
Note: Please, if you can pin the TOPIC in the forum, I think it would be good for all people.

Done, topic is now sticky.


88
Support / Re: PVD problem with https://
« on: May 23, 2018, 02:46:41 pm »
IMDB now also uses a secure https connection.

Quote
For more information, read this topic Proxomitron - next https solution for PVD in the Development section.

89
Scripts and Templates / Re: Script editing with NotePad++
« on: May 23, 2018, 02:40:03 pm »
I already use it for about six to seven years, and it is my best (at least me) editor for PVD scripts. Even "udl-Notepad ++ PVD_Script.xml" is a good deal for him, and thanks for this variation of editing PVD scripts.

90
Talk / Re: Alternative
« on: May 21, 2018, 06:36:21 pm »
The Alfa 2 versión:

The good news for this version of Imdb script is that the download code for Imdb awards is right,
which I have been waiting for a long time (I did not find the right way to code it myself) and I have now come to see her, that I can now add it to the usual Imdb Movie (awards) script.

Imdb Movie (awards) script is ready and will soon be added to the forum.

I am extremely grateful for this solution VVV_Easy_Programing member and in doing so I would like to thank for the extraordinary efforts, which he invested in writing the code for downloading Imdb awards.

91
Talk / Re: Alternative
« on: May 21, 2018, 06:17:41 pm »
Dear Easy, thanks for your work! It is truly and sincerely appreciated. Although still no luck for me with IMDB and FA scripts. Still same errors about no internet connection and started of course via portable.bat.

If you've made a test with Proxomitron or proxy on, then it really does not work.

For me:
Namely, with the movieAffinity [ES] script, it works smoothly on the Win 7 Ultimate 32 bit, while the Imdb script alternately (depending on the movie title) works or does not work. The system works without a proxy method, which I do not even use, except Proxomitron, which, however, is not switched on when I test PVD MOD.

Dear Ivek, it doesn+t work neither with your attached scripts.

Attached Imdb scripts have been added (with a view to possible testing) primarily for the VVV_Easy_Programing member to see what information would be needed to be included in the script and parts of the code for help at writing the Imdb script.

92
Support / Re: All Plugins stopped working !
« on: May 20, 2018, 04:05:22 pm »
::)  of course i should use both scripts, not only the (cast)2 one.... now it works perfectly!  ;)

So for all IMDB users: I now use a batch which launches Imdb Movie(cast)2.psf and Imdb Top 250, IMDb Rating and Studio (2).psf and it will nicely import your movie from IMDB (I don't need the poster).

It is nice to hear that the matter is now resolved and that it works.

... , the only thing not working now ist the Amazon poster import...

Thanks for the notification, because I do not currently deal with Amazon plug-ins and scripts. I worked on this issue a while ago, but I am currently working to solve problems around a lot of Imdb scripts that need updating. Imdb scripts are currently in the forefront, which is about updating and solving problems. When I have time (when this will not be known yet), I will also be addressing this problem, which can be very demanding for a successful solution, and then it will work properly.

Thanks so much Ivek for keeping PVD alive! ;)

Thanks and welcome.

93
Support / Re: All Plugins stopped working !
« on: May 20, 2018, 01:30:33 pm »
Hi Ivek,

I'm afraid but now it doesn't download the Actors at all. Am I doing something wrong?

If you use the old Imdb Movie (cast)2 script, this is normal. However, if you are using updated Imdb Movie (cast)2 script (in v 0.1.2.1), this is a bit unusual.

When updating a movie, the (existing) Actors will not be updated with the Character names.

Imdb plugin, as you already mentioned, does not do or transfer it.

94
Talk / Re: Alternative
« on: May 16, 2018, 05:32:22 pm »
IMDB_ [EN] [HTTPS] script

Maybe this search url link is better for movies search results.

https://www.imdb.com/search/title?title=Casablanca&view=simple

This url url is not the best way to find results, because it does not find some movie titles. The most suitable is (at least for me, because we find about 99% of movie titles) this url title for the search results below.

http://www.imdb.com/find?q=Casablanca&s=tt

The reason why I prefer to use it is because it quickly finds search results. In any case, it is not in the results display even posters for movies. However, the search result code contains a part of the code for movie posters (
Code: [Select]
curPos  := PosFrom('<img src="', HTML, curPos) + 10;
endPos  := PosFrom('</td> ', HTML, curPos);
Preview := Trim(Copy(HTML, curPos, endPos - curPos));

curPos := PosFrom('<a href="/title/', HTML, curPos);
while curPos > 0 do begin
endPos := PosFrom('?ref_=fn_tt_tt_', HTML, curPos);
URL := Trim(Copy(HTML, curPos+9, endPos - curPos-9));
URL := BASE_URL + URL;

curPos := PosFrom('>', HTML, curPos)+1;
endPos := PosFrom('</td> </tr>', HTML, curPos);
Title := RemoveTags(Trim(Copy(HTML, curPos, endPos - curPos)), false);
// Title   := StringReplace(Title, ') - ', ') ' + #13, true, false, true); 
// Title   := StringReplace(Title, ' - ', '<br />', true, false, true);

curPos  := PosFrom('<img src="', HTML, curPos) + 10;
endPos  := PosFrom('</td> ', HTML, curPos);
Preview := Trim(Copy(HTML, curPos, endPos - curPos));

AddSearchResult(Title, '', '', URL, '');

curPos := PosFrom('<a href="/title/', HTML, curPos);
 end;
), because the search results are working properly.

For the next version of PVD_MOD:

IMDB_ [EN] [HTTPS] script

I recommend that no posters for movies are added to the search results display.

95
Talk / Re: Alternative
« on: May 16, 2018, 05:26:24 pm »
PS: Ivek, I just see your message with the search url. Taken note for the next version, sorry.

No problem, it's okay.

96
Script Links / Re: IMDB Movie Links
« on: May 14, 2018, 07:04:44 pm »

97
Support / Re: All Plugins stopped working !
« on: May 14, 2018, 07:00:24 pm »
Hello Ivek,

since we need Proxomitron I use the Imdb Movie Info(title).psf script and the normal IMDB plugin, wich works ok but does not download the duration/length of the movie and does not download the character name of the actors.

Fixed Imdb Movie (cast) 2 script can be found on the link below.

But the missing character names are bad. I think this is what another user has written here:  http://www.videodb.info/forum_en/index.php/topic,4130.0.html

If I try the Imdb Top 250, IMDb Rating and Studio (2).psf script, PVD freezes sometimes, when it works it downloads the duration, though.

Fixed Imdb Top 250, IMDb Rating and Studio (2) script is added below. I hope that the problem is solved now.

98
Support / Re: All Plugins stopped working !
« on: May 14, 2018, 06:44:19 pm »
Hello Ivek. I'm very grateful for all you´ve done all this time, during and after Nostra.
Now I'm getting the HTTP/1.1.404 Not Found error, just after following all steps for Proxomiton. Please help, as I still intend to keep PVD networking my old Popcorn A-110.

I apologize for the fact that I just answered you now.

I can not say how this happened. I need a little more details about Popcorn A-110. Then I'll see how it might help.

100
Support / Re: IMDB MOVIE Script (cast)2 problem
« on: May 14, 2018, 06:10:51 pm »
I fixed Imdb Movie(cast)2 script, now it operates properly.

Imdb Movie(cast)2 script
v 0.1.2.1

Script is attached.

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 105
anything