English > PVD Python Scripts

New IMDb People v3 (Selenium) script comments

<< < (3/3)

afrocuban:

--- Quote from: Ivek23 on January 10, 2025, 12:25:26 pm ---No, that's not true, not everything belongs in the bio field, but only what was there now, because there is simply no other information on the bio pages and you can't import it anywhere else, only into the comment field.

For example, the proper name (for example Andrew Keegan (I) ), jobtitle, Filmography - Career or alternative names will not be found on the bio pages and the transfer of this information goes to the comment field.


--- End quote ---

Thanks to the new approach by speeding up the process with downloading pages in parallel, it makes it also actually pretty easy to achieve this goal too:



--- Quote --- //Parse Biography provider page = BASE_URL_BIO_PERSON-----------------------------------------------------------------------
If (GET_FULL_BIO and Not(USE_SAVED_PVDCONFIG and (Copy(PVDConfigOptions, opBio, 1) = '0'))) Then Begin
    DownloadURL := StringReplace(BASE_URL_BIO_PERSON, '%IMDB_ID', PersonID, True, True, False);
    HTML := DownloadPageBio(FileNameBio);  //True page for parsing
    HTML := HTMLToText(HTML);
   CombinedHTML := HTML;
    DownloadURL := BASE_URL_PERSON_PRE_TRUE+ PersonID +BASE_URL_SUF;
    HTML := DownloadPageMain(FileNameMain);
    //LogMessage('HTML set to FileNameMain: ' + HTML);
    HTML := HTMLToText(HTML);
   CombinedHTML := CombinedHTML + HTML;
    ResultTmp := ParsePage_IMDBPeopleBIO(CombinedHTML);
    If Not(ResultTmp = prFinished) Then Begin
        Result := ResultTmp;
        Exit;
    End;
--- End quote ---


This makes it possible to theoretically combine whatever we want.

I have finished final, complete and definitive all-in-one IMDB_People_[EN][Selenium]-v4.0.psf with full search brought back, and now working with IMDB_Movie_[EN][Selenium]-v4.0.psf to get the same, and will publish both then.

Navigation

[0] Message Index

[*] Previous page

Go to full version