English > Support

Personal Video Database 1.0.2.7 MOD

<< < (28/73) > >>

Ivek23:
IMDB_ [EN] [HTTPS] (Plot Keywords) script


--- Quote from: Ivek23 on November 11, 2018, 08:22:25 am ---
--- Quote from: Miguelh1020 on November 11, 2018, 12:24:47 am ---I can't get all the tags from a movie. The IMDB[EN] script only downloads 4-5 ( PVD calls them Tags but IMDB calls them Plot Keywords).
--- End quote ---

Tags are in fact really Plot Keywords. Tags is a PVD field for downloading Plot Keywords information. For Plot Keywords it will be possible to create a standalone IMDB_ [EN] [HTTPS] (Plot Keywords) script. In the basic IMDB_ [EN] [HTTPS] script, Plot Keywords is only downloaded from the primary IMDB site, but there are only as many tags as you have already mentioned.
--- End quote ---

An IMDB_ [EN] [HTTPS] (Plot Keywords) script for full download of Plot Keywords information was made.

IMDB_ [EN] [HTTPS] (Plot Keywords) script is attached.

VVV_Easy_Programing:
Attached temporal Acumulative Scripts Patch date: 2018.11.23 (to copy in PVD folder for overwriting the existing files).

Changelog:
        IMDB_[EN][HTTPS]
        V 1.3.1.0 (22/11/2018) Ivek23: ParsePage_IMDBMovieAKA small change in the source code and was missing the name for the country.

Ivek23:

--- Quote from: VVV_Easy_Programing on November 23, 2018, 09:07:10 pm ---Attached temporal Acumulative Scripts Patch date: 2018.11.23 (to copy in PVD folder for overwriting the existing files).

Changelog:
        IMDB_[EN][HTTPS]
        V 1.3.1.0 (22/11/2018) Ivek23: ParsePage_IMDBMovieAKA small change in the source code and was missing the name for the country.
--- End quote ---

A minor error in the code ParsePage_IMDBMovieAKA code where the letter "c" is missing

--- Quote ---    urPos:=Pos('class="ipl-list-title">Also Known As (AKA)',HTML);                      //Strings start which opens the block content data. WEB_SPECIFIC
--- End quote ---

It is correct:

--- Quote ---   curPos:=Pos('class="ipl-list-title">Also Known As (AKA)',HTML);                      //Strings start which opens the block content data. WEB_SPECIFIC
--- End quote ---

VVV_Easy_Programing:
Damn! I had corrected that error that also prevents the compilation ... but I had to upload the bad file :-[  . Thanks Ivek23.
Now I think it's fine.
Attached temporal Acumulative Scripts Patch date: 2018.11.25 (to copy in PVD folder for overwriting the existing files).

Changelog:
        IMDB_[EN][HTTPS]
        V 1.3.1.0 (22/11/2018) Ivek23: ParsePage_IMDBMovieAKA small change in the source code and was missing the name for the country.

Ivek23:
IMDB_[EN][HTTPS] script

This need to be fixed. Now records in ShowMessage are not in English.


--- Quote ---Function DownloadPage(URL:AnsiString):String; //BlockOpen
//Returns the URL page text. If error returns empty string
  Var
.
.
.
         If i=INTERNET_TEST_ITERATIONS Then Begin
            //if 2=MessageBox('Demasiados intentos fallidos de conexión a internet.'+Chr(13)+ 'Reintentar o             //if 2=MessageBox('Demasiados intentos fallidos de conexión a internet.'+Chr(13)+ 'Reintentar o Cancelar?',SCRIPT_NAME,5) 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;
.
.
.
    if (Pos('405 Method not allowed',Result)>0) then begin  //Banned IP. WEB_SPECIFIC.
        //If BYPASS_SILENT Then ShowMessage('La URL tiene problemas de HTTP metodo (405 Method not allowed).'+Chr(13)+'Ir a la página del proveedor para'+Chr(13)+'encontrar la página buena',SCRIPT_NAME);
        If BYPASS_SILENT Then ShowMessage('The URL has HTTP method problems (405 Method not allowed).'+Chr(13)+'Go to the provider web in order to in order to'+Chr(13)+'find the good page',SCRIPT_NAME);      
        LogMessage(Chr(9)+Chr(9)+'      405 Method not allowed|');
        Result:=''; //Fatal error
    End;
    if (Pos('Too many request',Result)>0) then begin  //Banned IP. WEB_SPECIFIC.
        //If BYPASS_SILENT Then ShowMessage('El proveedor ha prohibido su IP (Demasiadas peticiones).'+Chr(13)+'Ir a la página del proveedor y resolver el captcha para'+Chr(13)+'demostrar que no es un robot',SCRIPT_NAME);
        If BYPASS_SILENT Then ShowMessage('The provider has banned your IP (Too many request).'+Chr(13)+'Go to the provider web and resolve the captcha in order to'+Chr(13)+'demostrate you are not a robot',SCRIPT_NAME);      
        LogMessage(Chr(9)+Chr(9)+'      Banned IP|');
        Result:=''; //Fatal error
    End;
    LogMessage(Chr(9)+Chr(9)+'Function DownloadPage END======================|');
    exit;
  End; //BlockClose
--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version