Author Topic: Alternative  (Read 21923 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #40 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.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 199
    • View Profile
Re: Alternative
« Reply #41 on: May 31, 2018, 02:28:00 pm »
Quote
When I removed the code for CAST, AWARDS and MPAA

Ivek23, If you run the first script  "**** Scripts Configuration ****" you are capable of change the script behavior of download or not the pages of AKA, CAST, AWARDS and MPAA. You don't need to remove the code.

With the Log file I see a hint of the problem: When the script try to get the downloaded movie page, PVD fails and recompliling the script. I think that this happens because the download of the page is not complete (may be for the line speed or for the weight of the page). I have some ideas to solve this. Stay tunned.

BTW, "TheMoveDB script works flawless" because it is a API script and only download the data text in a standart order. The others scripts download the "user" web page, with all the HTML code.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #42 on: May 31, 2018, 02:44:06 pm »
The Alfa 6 version:

IMDB_ [EN] [HTTPS] script


I know about this
Quote
When I removed the code for CAST, AWARDS and MPAA

Ivek23, If you run the first script  "**** Scripts Configuration ****" you are capable of change the script behavior of download or not the pages of AKA, CAST, AWARDS and MPAA. You don't need to remove the code.
, but it did not work enough to determine with certainty the error.

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 just did this to make it easier to find out where the error was supposed to be.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #43 on: May 31, 2018, 06:29:41 pm »
The Alfa 6 version:

IMDB_ [EN] [HTTPS] script

Blade Runner


IMDB_ [EN] [HTTPS] script info for the Blade Runner movie title in The Alfa 6 version is not downloadable, while the search for results works.

Log
Quote
(31.5.2018 19:21:45) PVD Version: 1.0.2.7
(31.5.2018 19:21:45) OS: Windows 7 Ultimate Edition
(31.5.2018 19:21:45) GlassFrame Enabled
(31.5.2018 19:21:45) Plugin loaded: csvimp.dll 0.1.3.1
(31.5.2018 19:21:45) Plugin loaded: mpexport.dll 0.1.0.2
(31.5.2018 19:21:45) Plugin loaded: msexcel.dll 0.4.1.0
(31.5.2018 19:21:45) Plugin loaded: plainexp.dll 0.7.1.2
(31.5.2018 19:21:47) Plugin loaded: pvdtotray.dll 0.1.0.1
(31.5.2018 19:21:47) Plugin loaded: scriptint.dll 0.3.0.2
(31.5.2018 19:21:47) Plugin loaded: valueconvert.dll 0.1.0.2
(31.5.2018 19:21:47) Compiling script: FilmAffinity_[ES][HTTPS].psf
(31.5.2018 19:21:47) Script compiled successfully: FilmAffinity_[ES][HTTPS].psf
[Warning] (680:47): "and True" is not needed
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Compiling script: FilmAffinity_[ES][HTTPS]_New_Releases.psf
(31.5.2018 19:21:47) Script compiled successfully: FilmAffinity_[ES][HTTPS]_New_Releases.psf
[Warning] (257:31): "True and" is not needed
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Compiling script: IMDB_[EN][HTTPS].psf
(31.5.2018 19:21:47) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1080:47): "and True" is not needed
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Compiling script: PVdBScriptConfig.psf
(31.5.2018 19:21:47) Script compiled successfully: PVdBScriptConfig.psf
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Compiling script: PVdBScriptConfigPeople.psf
(31.5.2018 19:21:47) Script compiled successfully: PVdBScriptConfigPeople.psf
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Compiling script: Several_File_Infos.psf
(31.5.2018 19:21:47) Script compiled successfully: Several_File_Infos.psf
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Compiling script: TheMovieDB_People_[EN][API].psf
(31.5.2018 19:21:47) Script compiled successfully: TheMovieDB_People_[EN][API].psf
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Compiling script: TheMovieDB_[EN][API].psf
(31.5.2018 19:21:47) Script compiled successfully: TheMovieDB_[EN][API].psf
[Warning] (586:21): "True and" is not needed
(31.5.2018 19:21:47) Executing script binary
(31.5.2018 19:21:47) Script loaded: FilmAffinity_[ES][HTTPS].psf 4.0.0.1
(31.5.2018 19:21:47) Script loaded: FilmAffinity_[ES][HTTPS]_New_Releases.psf 4.0.0.2
(31.5.2018 19:21:47) Script loaded: IMDB_[EN][HTTPS].psf 1.0.0.0
(31.5.2018 19:21:47) Script loaded: PVdBScriptConfig.psf 1.0.0.0
(31.5.2018 19:21:47) Script loaded: PVdBScriptConfigPeople.psf 1.0.0.0
(31.5.2018 19:21:47) Script loaded: Several_File_Infos.psf 1.0.0.0
(31.5.2018 19:21:47) Script loaded: TheMovieDB_People_[EN][API].psf 1.0.0.0
(31.5.2018 19:21:47) Script loaded: TheMovieDB_[EN][API].psf 1.0.0.0
(31.5.2018 19:21:48) Loading database: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\movies.pvd
(31.5.2018 19:21:49) Query time: 0 ms
(31.5.2018 19:21:58) Compiling script: IMDB_[EN][HTTPS].psf
(31.5.2018 19:21:58) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1080:47): "and True" is not needed
(31.5.2018 19:21:58) Executing script binary
(31.5.2018 19:21:58) Logging in...
(31.5.2018 19:21:59) Function GetDownloadURL BEGIN======================|
(31.5.2018 19:21:59) Global Var-Mode|0|
(31.5.2018 19:21:59) Global Var-DownloadURL||
(31.5.2018 19:21:59)       No IMDB URL.
(31.5.2018 19:21:59) Function GetDownloadURL END====================== with Mode=0 Result=D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\portable.bat|
(31.5.2018 19:21:59) Searching movie information for: Blade Runner
(31.5.2018 19:21:59) Function ParsePage BEGIN======================|
(31.5.2018 19:21:59) Global Var-Mode|0|
(31.5.2018 19:21:59) Global Var-DownloadURL||
(31.5.2018 19:21:59) Local Var-URL||
(31.5.2018 19:22:00)   ParsePage smSearch|0|. Searching DownloadURL for MovieTitle |Blade Runner| MovieYear ||
(31.5.2018 19:22:00)       Searching in Provider:|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple||
(31.5.2018 19:22:00) Function DownloadPage BEGIN======================|
(31.5.2018 19:22:00) Global Var-DownloadURL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:22:00)    Local Var-URL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:22:00)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:01)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple||
(31.5.2018 19:22:01)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:03)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:03)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:03) Function DownloadPage END======================|
(31.5.2018 19:22:03) Function ParsePage_IMDBSearchTitle BEGIN======================|
(31.5.2018 19:22:03) Global Var-Mode|0|
(31.5.2018 19:22:03) Global Var-DownloadURL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:22:03)         Parsing search Movies results
(31.5.2018 19:22:03)     Parsing search movie results in 53298 ...
(31.5.2018 19:22:03)       Parse Results PreviewURL:||
(31.5.2018 19:22:03)       Parse Results URL:http://www.imdb.com/title/tt1856101/||
(31.5.2018 19:22:03)       Parse Results CHEAT URL:http://www.jsontest.com/ http://www.imdb.com/title/tt1856101/||
(31.5.2018 19:22:03)       Parse Results Title:Iztrebljevalec 2049||
(31.5.2018 19:22:03)     Parse Results in Year:2017||
(31.5.2018 19:22:03)     Parsing search movie results in 57397 ...
(31.5.2018 19:22:03)       Parse Results PreviewURL:||
(31.5.2018 19:22:03)       Parse Results URL:http://www.imdb.com/title/tt0083658/||
(31.5.2018 19:22:03)       Parse Results CHEAT URL:http://www.jsontest.com/ http://www.imdb.com/title/tt0083658/||
(31.5.2018 19:22:03)       Parse Results Title:Iztrebljevalec||
(31.5.2018 19:22:03)     Parse Results in Year:1982||
(31.5.2018 19:22:03)     Parsing search movie results in 61514 ...
(31.5.2018 19:22:03)       Parse Results PreviewURL:||
(31.5.2018 19:22:03)       Parse Results URL:http://www.imdb.com/title/tt7445510/||
(31.5.2018 19:22:03)       Parse Results CHEAT URL:http://www.jsontest.com/ http://www.imdb.com/title/tt7445510/||
(31.5.2018 19:22:03)       Parse Results Title:Oscar Pistorius: Blade Runner Killer||
(31.5.2018 19:22:03)     Parse Results in Year:2017||
(31.5.2018 19:22:03)       After parsing search Movies go to choose List Results
(31.5.2018 19:22:03) Function ParsePage_IMDBSearchTitle END=====================||
(31.5.2018 19:22:03) Function ParsePage smSearchList END======================|
(31.5.2018 19:22:08) GET: http://www.jsontest.com/ http://www.imdb.com/title/tt0083658/
(31.5.2018 19:22:09) Function ParsePage BEGIN======================|
(31.5.2018 19:22:09) Global Var-Mode|8|
(31.5.2018 19:22:09) Global Var-DownloadURL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:22:09) Local Var-URL|http://www.jsontest.com/ http://www.imdb.com/title/tt0083658/|
(31.5.2018 19:22:09)   ParsePage mode smSearchList. Getting DownloadURL from the return of smSearchList
(31.5.2018 19:22:09)      Global Var-DownloadURL|https://www.imdb.com/title/tt0083658/|
(31.5.2018 19:22:09)      With the good movie URL it demand download the movie page
(31.5.2018 19:22:09)   ParsePage mode smNormal|1|. Getting provider data for MovieID|tt0083658|
(31.5.2018 19:22:09)       Get result url:http://www.imdb.com/title/tt0083658/||
(31.5.2018 19:22:09) Function DownloadPage BEGIN======================|
(31.5.2018 19:22:09) Global Var-DownloadURL|https://www.imdb.com/title/tt0083658/|
(31.5.2018 19:22:09)    Local Var-URL|https://www.imdb.com/title/tt0083658/|
(31.5.2018 19:22:09)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:10)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title/tt0083658/||
(31.5.2018 19:22:10)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:12)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:18) Compiling script: IMDB_[EN][HTTPS].psf
(31.5.2018 19:22:18) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1080:47): "and True" is not needed
(31.5.2018 19:22:18) Executing script binary
(31.5.2018 19:22:18) Logging in...
(31.5.2018 19:22:18) Function GetDownloadURL BEGIN======================|
(31.5.2018 19:22:18) Global Var-Mode|0|
(31.5.2018 19:22:18) Global Var-DownloadURL||
(31.5.2018 19:22:19)       No IMDB URL.
(31.5.2018 19:22:19) Function GetDownloadURL END====================== with Mode=0 Result=D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\portable.bat|
(31.5.2018 19:22:19) Searching movie information for: Blade Runner
(31.5.2018 19:22:19) Function ParsePage BEGIN======================|
(31.5.2018 19:22:19) Global Var-Mode|0|
(31.5.2018 19:22:19) Global Var-DownloadURL||
(31.5.2018 19:22:19) Local Var-URL|http://www.jsontest.com/ http://www.imdb.com/title/tt0083658/|
(31.5.2018 19:22:20)   ParsePage smSearch|0|. Searching DownloadURL for MovieTitle |Blade Runner| MovieYear ||
(31.5.2018 19:22:20)       Searching in Provider:|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple||
(31.5.2018 19:22:20) Function DownloadPage BEGIN======================|
(31.5.2018 19:22:20) Global Var-DownloadURL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:22:20)    Local Var-URL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:22:20)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:21)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple||
(31.5.2018 19:22:21)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:23)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #44 on: May 31, 2018, 06:32:28 pm »
Part 2:

The Alfa 4 version:

IMDB_ [EN] [HTTPS] script

Blade Runner


Quote
When I removed the code for CAST, AWARDS and MPAA

With the already manually added URL address, so the IMDB_ [EN] [HTTPS] script transmits info for the Blade Runner movie.
Log
Quote
(31.5.2018 19:13:20) PVD Version: 1.0.2.7
(31.5.2018 19:13:20) OS: Windows 7 Ultimate Edition
(31.5.2018 19:13:20) GlassFrame Enabled
(31.5.2018 19:13:20) Plugin loaded: csvimp.dll 0.1.3.1
(31.5.2018 19:13:20) Plugin loaded: mpexport.dll 0.1.0.2
(31.5.2018 19:13:20) Plugin loaded: msexcel.dll 0.4.1.0
(31.5.2018 19:13:20) Plugin loaded: plainexp.dll 0.7.1.2
(31.5.2018 19:13:20) Plugin loaded: scriptint.dll 0.3.0.2
(31.5.2018 19:13:20) Plugin loaded: valueconvert.dll 0.1.0.2
(31.5.2018 19:13:20) Compiling script: FilmAffinity_[ES][HTTPS].psf
(31.5.2018 19:13:20) Script compiled successfully: FilmAffinity_[ES][HTTPS].psf
[Warning] (680:47): "and True" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: FilmAffinity_[ES][HTTPS]_New_Releases.psf
(31.5.2018 19:13:20) Script compiled successfully: FilmAffinity_[ES][HTTPS]_New_Releases.psf
[Warning] (257:31): "True and" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: IMDB_[EN][HTTPS].psf
(31.5.2018 19:13:20) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1187:47): "and True" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: IMDB_[EN][HTTPS]0.psf
(31.5.2018 19:13:20) Script compiled successfully: IMDB_[EN][HTTPS]0.psf
[Warning] (1187:47): "and True" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: IMDB_[EN][HTTPS]1.psf
(31.5.2018 19:13:20) Script compiled successfully: IMDB_[EN][HTTPS]1.psf
[Warning] (845:47): "and True" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: IMDB_[EN][HTTPS]2.psf
(31.5.2018 19:13:20) Script compiled successfully: IMDB_[EN][HTTPS]2.psf
[Warning] (1178:47): "and True" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: IMDB_[EN][HTTPS]3.psf
(31.5.2018 19:13:20) Script compiled successfully: IMDB_[EN][HTTPS]3.psf
[Warning] (778:47): "and True" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: PVdBScriptConfig.psf
(31.5.2018 19:13:20) Script compiled successfully: PVdBScriptConfig.psf
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: Several_File_Infos.psf
(31.5.2018 19:13:20) Script compiled successfully: Several_File_Infos.psf
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: TheMovieDB_People_[EN].psf
(31.5.2018 19:13:20) Script compiled successfully: TheMovieDB_People_[EN].psf
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Compiling script: TheMovieDB_[EN][API].psf
(31.5.2018 19:13:20) Script compiled successfully: TheMovieDB_[EN][API].psf
[Warning] (573:21): "True and" is not needed
(31.5.2018 19:13:20) Executing script binary
(31.5.2018 19:13:20) Script loaded: FilmAffinity_[ES][HTTPS].psf 4.0.0.1
(31.5.2018 19:13:20) Script loaded: FilmAffinity_[ES][HTTPS]_New_Releases.psf 4.0.0.2
(31.5.2018 19:13:20) Script loaded: IMDB_[EN][HTTPS].psf 1.0.0.0
(31.5.2018 19:13:20) Script loaded: IMDB_[EN][HTTPS]0.psf 1.0.0.0
(31.5.2018 19:13:20) Script loaded: IMDB_[EN][HTTPS]1.psf 1.0.0.0
(31.5.2018 19:13:20) Script loaded: IMDB_[EN][HTTPS]2.psf 1.0.0.0
(31.5.2018 19:13:20) Script loaded: IMDB_[EN][HTTPS]3.psf 1.0.0.0
(31.5.2018 19:13:20) Script loaded: PVdBScriptConfig.psf 1.0.0.0
(31.5.2018 19:13:20) Script loaded: Several_File_Infos.psf 1.0.0.0
(31.5.2018 19:13:20) Script loaded: TheMovieDB_People_[EN].psf V 1.0.0.0
(31.5.2018 19:13:20) Script loaded: TheMovieDB_[EN][API].psf 1.0.0.0
(31.5.2018 19:13:21) Loading database: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\movies.pvd
(31.5.2018 19:13:22) Query time: 0 ms
(31.5.2018 19:13:26) Compiling script: IMDB_[EN][HTTPS]3.psf
(31.5.2018 19:13:26) Script compiled successfully: IMDB_[EN][HTTPS]3.psf
[Warning] (778:47): "and True" is not needed
(31.5.2018 19:13:26) Executing script binary
(31.5.2018 19:13:26) Logging in...
(31.5.2018 19:13:26) Function GetDownloadURL BEGIN======================|
(31.5.2018 19:13:26) Global Var-Mode|0|
(31.5.2018 19:13:26) Global Var-DownloadURL||
(31.5.2018 19:13:27)       IMDB URL.
(31.5.2018 19:13:27)       Parse stored information DownloadURL:https://www.imdb.com/title/tt0083658/||
(31.5.2018 19:13:27) Function GetDownloadURL END====================== with Mode=1 Result=D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\portable.bat|
(31.5.2018 19:13:27) Searching movie information for: Blade Runner
(31.5.2018 19:13:27) Function ParsePage BEGIN======================|
(31.5.2018 19:13:27) Global Var-Mode|1|
(31.5.2018 19:13:27) Global Var-DownloadURL|https://www.imdb.com/title/tt0083658/|
(31.5.2018 19:13:27) Local Var-URL||
(31.5.2018 19:13:27)   ParsePage mode smNormal|1|. Getting provider data for MovieID|tt0083658|
(31.5.2018 19:13:27)       Get result url:http://www.imdb.com/title/tt0083658/||
(31.5.2018 19:13:27) Function DownloadPage BEGIN======================|
(31.5.2018 19:13:27) Global Var-DownloadURL|https://www.imdb.com/title/tt0083658/|
(31.5.2018 19:13:27)    Local Var-URL|https://www.imdb.com/title/tt0083658/|
(31.5.2018 19:13:27)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:13:28)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title/tt0083658/||
(31.5.2018 19:13:28)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:13:30)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:13:32)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:13:32)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:13:32) Function DownloadPage END======================|
(31.5.2018 19:13:32) Function ParsePage_IMDBMovieBASE BEGIN======================|
(31.5.2018 19:13:32)       Get result title:Iztrebljevalec||
(31.5.2018 19:13:32)       Get result year:1982||
(31.5.2018 19:13:32)       Get result origtitle:Blade Runner||
(31.5.2018 19:13:32)       Get result poster:http://ia.media-imdb.com/images/M/MV5BNzQzMzJhZTEtOWM4NS00MTdhLTg0YjgtMjM4MDRkZjUwZDBlXkEyXkFqcGdeQXVyNjU0OTQ0OTY@.jpg||
(31.5.2018 19:13:32)       Get result imdbrating:8.2||
(31.5.2018 19:13:32)       Get result IMDB_Votes:585678||
(31.5.2018 19:13:32)       Get result TOP_250:151||
(31.5.2018 19:13:32)       Get result description:In the 21st century, a corporation develops human clones to be used as slaves in colonies outside the Earth, identified as replicants. In 2019, a former police officer is hired to hunt down a fugitive group of clones living undercover in Los Angeles.||
(31.5.2018 19:13:32)       Get results Category:tech noir                        , human android relationship                        , police detective                        , female android                        , megacorporation            ,||
(31.5.2018 19:13:32)       Get result tagline:The star of "RAIDERS OF THE LOST ARK" and the director of "ALIEN" take you on a spectacular journey to the savage world of the year 2019!!||
(31.5.2018 19:13:32)       Get results Genre:Sci-Fi , Thriller||
(31.5.2018 19:13:32)       Get results Country:USA              ,        Hong Kong||
(31.5.2018 19:13:32)       Get results Release Date:25.6.1982||
(31.5.2018 19:13:32)       Get results Budget:$28,000,000||
(31.5.2018 19:13:32)       Get results Studio/Production Co:Ladd Company, The||
(31.5.2018 19:13:32) Function ParsePage_IMDBMovieBASE END=====================||
(31.5.2018 19:13:32)     Provider data info retreived Ok in 2018-05-31 19:13:32|
(31.5.2018 19:13:32) Function ParsePage NORMAL END======================|
(31.5.2018 19:13:32) GET: http://ia.media-imdb.com/images/M/MV5BNzQzMzJhZTEtOWM4NS00MTdhLTg0YjgtMjM4MDRkZjUwZDBlXkEyXkFqcGdeQXVyNjU0OTQ0OTY@.jpg
(31.5.2018 19:21:15) Compiling script: IMDB_[EN][HTTPS].psf
(31.5.2018 19:21:15) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1187:47): "and True" is not needed
(31.5.2018 19:21:15) Executing script binary
(31.5.2018 19:21:15) Logging in...
(31.5.2018 19:21:16) Function GetDownloadURL BEGIN======================|
(31.5.2018 19:21:16) Global Var-Mode|0|
(31.5.2018 19:21:16) Global Var-DownloadURL||
(31.5.2018 19:21:16)       No IMDB URL.
(31.5.2018 19:21:16) Function GetDownloadURL END====================== with Mode=0 Result=D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\portable.bat|
(31.5.2018 19:21:16) Searching movie information for: Blade Runner
(31.5.2018 19:21:16) Function ParsePage BEGIN======================|
(31.5.2018 19:21:16) Global Var-Mode|0|
(31.5.2018 19:21:16) Global Var-DownloadURL||
(31.5.2018 19:21:16) Local Var-URL|http://ia.media-imdb.com/images/M/MV5BNzQzMzJhZTEtOWM4NS00MTdhLTg0YjgtMjM4MDRkZjUwZDBlXkEyXkFqcGdeQXVyNjU0OTQ0OTY@.jpg|
(31.5.2018 19:21:17)   ParsePage smSearch|0|. Searching DownloadURL for MovieTitle |Blade Runner| MovieYear ||
(31.5.2018 19:21:17)       Searching in Provider:|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple||
(31.5.2018 19:21:17) Function DownloadPage BEGIN======================|
(31.5.2018 19:21:17) Global Var-DownloadURL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:21:17)    Local Var-URL|https://www.imdb.com/search/title?title=Blade+Runner&title_type=feature&release_date=,&view=simple|
(31.5.2018 19:21:17)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:21:18)       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=Blade+Runner&title_type=feature&release_date=,&view=simple||
(31.5.2018 19:21:18)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:21:20)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB2\Scripts\downpage-UTF8_NO_BOM.htm
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 199
    • View Profile
Re: Alternative
« Reply #45 on: May 31, 2018, 08:22:58 pm »
The Alfa 7 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.7.zip

Corrected the important error of no waiting to finish of download (see down).

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

Now the IMDB and the FA pages are very big. curl download writing directly over the file so now "PVdBDownPage.exe" wait to have all the page to pass  to the script. In the precedent versions, with Win_7 OS is normal that you get a lot of strange problems. I have done several test and it works with my speed of line and computer. Now the INTERNET_TEST_ITERATIONS   = 5 (so 10seg). If you get some alerts of no internet conexión you may increase.

Quote
(31.5.2018 19:22:12)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:18) Compiling script: IMDB_[EN][HTTPS].psf

Ivek23: I supose that in this moment you have got the crash "StackOverflow" window: It's not possible that PVD needs to compilate in the middle of runnig of script. In this moment we get a erratic working.
« Last Edit: May 31, 2018, 08:31:45 pm by VVV_Easy_Programing »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #46 on: June 01, 2018, 08:03:36 am »
The Alfa 7 version:

IMDB_ [EN] [HTTPS] script

Change the part of the code for posters I found today and have already repaired.

Before:
Code: [Select]
BASE_URL_IMAGE_PRE      = 'http://ia.media-imdb.com/images/M/'; //IMDB posters format: Full image: 'https://ia.media-imdb.com/images/M/MV5BMTI2MjI4NTgyNF5BMl5BanBnXkFtZTcwOTM5NzQ5MQ@@.jpg.
  BASE_URL_IMAGE_PRE_TRUE  = 'https://ia.media-imdb.com/images/M/';                //Resized image: 'https://ia.media-imdb.com/images/M/MV5BMTI2MjI4NTgyNF5BMl5BanBnXkFtZTcwOTM5NzQ5MQ@@._V1_UY50_CR0,0,34,50_AL_.jpg
                                                                         //                where the two last number are width and heigth

After:
Code: [Select]
BASE_URL_IMAGE_PRE      = 'http://ia.media-imdb.com/images/M/'; //IMDB posters format: Full image: 'https://ia.media-imdb.com/images/M/MV5BMTI2MjI4NTgyNF5BMl5BanBnXkFtZTcwOTM5NzQ5MQ@@.jpg.
  BASE_URL_IMAGE_PRE_TRUE  = 'https://m.media-amazon.com/images/M/';
  //BASE_URL_IMAGE_PRE_TRUE  = 'https://ia.media-imdb.com/images/M/';                //Resized image: 'https://ia.media-imdb.com/images/M/MV5BMTI2MjI4NTgyNF5BMl5BanBnXkFtZTcwOTM5NzQ5MQ@@._V1_UY50_CR0,0,34,50_AL_.jpg
                                                                         //                where the two last number are width and heigth

For now, the scriprt works ok. We will see what will be after several tests.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #47 on: June 01, 2018, 08:19:27 pm »
IMDB_ [EN] [HTTPS] script

In IMDB_ [EN] [HTTPS] script is an error in downloading Full AKA info as well as Original Title for Buffalo Bill, l'eroe del far west movie. This error has been from the beginning of IMDB_ [EN] [HTTPS] script.
« Last Edit: June 02, 2018, 06:55:18 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #48 on: June 02, 2018, 06:52:20 am »
IMDB_ [EN] [HTTPS] script

Alexander Hamilton movie
Alexander Jamieson movie

I've corrected a part of the code in Function ParsePage_IMDBMovieAKA.
Quote
Function ParsePage_IMDBMovieAKA(HTML:String):Cardinal; //BlockOpen
    //Returns:
    //     Result:=prFinished; Script has finished gathering data
    //     Result:=prError; If not results
    //Retrieve: ~aka~ "Also Known As"
  Var
    debug_pos1 : Integer;
    curPos,endPos,index:Integer;
    ItemValue,ItemList:String;
    ItemArray: TWideArray;
  Begin
    LogMessage('Function ParsePage_IMDBMovieAKA BEGIN=====================||');
    //Get ~aka~ (several values in a line break separated list) Be careful don't repeat
    //Go to "Also Known As"
    curPos:=Pos('<h4 class="li_group">Also Known As (AKA)',HTML);                      //Strings start which opens the block content data. WEB_SPECIFIC
    curPos:=PosFrom('</h4>',HTML,curPos);                                              //Strings end which opens the block content data.  WEB_SPECIFIC
    curPos:=curPos+Length('</h4>');                                                    //Strings end which opens the block content data.  WEB_SPECIFIC
    //Get all "raw" list aka for create good values separators
    endPos:=PosFrom('</table>',HTML,curPos);                                            //Strings which opens/closes the data. WEB_SPECIFIC
    ItemList:=Copy(HTML,curPos,endPos-curPos);
    ItemList:=StringReplace(ItemList,'</td>',';',True,True,False);                     //WEB_SPECIFIC
    //Get all aka list (NOT necesary in raw because: Several couple of valors (Country/title) but the first is the original title
    ItemList:=RemoveTags(ItemList, False);
    //LogMessage('           Parse results ('+IntToStr(curPos)+','+IntToStr(endPos)+') complex ItemList:'+ItemList+'||');List+'||');
    ExplodeString(ItemList,ItemArray,';');
    ItemValue:='';
    For index:=(Low(ItemArray)+1) To (High(ItemArray)/2) Do Begin        //Remember index begin in 0
      If index=1 Then Begin  // The first is the original title. WEB_SPECIFIC
         AddFieldValueXML('origtitle',ItemArray[(index*2-1)]);
         LogMessage('      Get result origtitle:'+ItemArray[(index*2-1)]+'||');
      End Else Begin
         //Verify if we get before the same title
         If Pos(ItemArray[(index*2-1)],ItemValue)=0 Then ItemValue:=ItemValue+'<br>'+ItemArray[(index*2-1)];
      End;       
    End;
    debug_pos1:=Pos('}})',ItemValue);
    if debug_pos1 >0 then ItemValue := Copy(ItemValue,0,debug_pos1-1);

    AddFieldValueXML('aka',ItemValue);
    LogMessage('      Get results aka:'+ItemValue+'||');
    Result:=prFinished;
    LogMessage('Function ParsePage_IMDBMovieAKA END=====================||');
  End; //BlockClose
An error occurs when a record is on the web page.
Quote
Also Known As (AKA)
It looks like we don't have any AKAs for this title yet.

Be the first to contribute! Just click the "Edit page" button at the bottom of the page or learn more in the AKAs submission guide.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 199
    • View Profile
Re: Alternative
« Reply #49 on: June 02, 2018, 11:58:56 am »
The Alfa 8 version ONLY SCRIPT FOLDER:
http://vvveasy.altervista.org/wp-content/uploads/2018/06/Scripts-V.Alfa_.8.zip

Corrected the BASE_URL_IMAGE_PRE_TRUE and the AKA errors and others (see down). Added the people script "IMDB_People_[EN][HTTPS]" (the last)

Change the ancient folder for the new folder. 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.
----------------------------------------------------------------------------------------------------------------
I prefer correct the AKA no results with a comprobation in the beginnig of the subrutine:
Quote
    Result:=prFinished;
    if (Pos('It looks like we don'+Chr(39)+'t have any AKAs for this title yet.',HTML)>0) then Exit;

I think that the problema of "Buffalo Bill, l'eroe del far west" is the comma because it get the countries. It's NOT corrected but I have some ideas. Stay tunned.


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #50 on: June 02, 2018, 03:44:33 pm »
IMDB_ [EN] [HTTPS] script

Plot Keywords (~ category ~ "keywords") has not been on Imdb web sites for a long time as an area Category (also in PVD for a long time, the Category field is empty), but this information is taken as Tags and the info is transferred to the PVD Tags normal field.

This part of the code is now modified as seen below, which is of course also correct and so it should remain (Imdb plugin also equals to transfer this information into the same field).


Quote
    //Get ~category~ "keywords" (field with several values in a comma separated list)
    curPos:=Pos('<h4 class="inline">Plot Keywords:</h4>',HTML);                                      //WEB_SPECIFIC.IC.
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Plot Keywords:</h4>','<a href="/title/',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC
       ItemValue:=StringReplace(ItemValue,'|',',',True,True,False);                                  //Change the separator to comma
       //AddFieldValueXML('category',ItemValue);
       AddFieldValueXML('tags',ItemValue);       
       LogMessage('      Get results Tags:'+ItemValue+'||');

       //LogMessage('      Get results Category:'+ItemValue+'||');
    End; 
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #51 on: June 03, 2018, 08:16:51 am »
IMDB_ [EN] [HTTPS] script

Before:
Quote
  BASE_URL_PERSON_PRE      = 'https://www.imdb.com/name/';      //The traditional BASE_UR to person ID 'http://httpS://www.imdb.com/name/    nm0094036/'
  BASE_URL_PERSON_PRE_TRUE = 'https://www.imdb.com/name/';      //True actual link to person ID 'http://httpS://www.imdb.com/name/    nm0094036/'

Such a url for people is incorrect because the names for the actor, producer, or other categories of people are recorded separately because the URL is captured as a secure URL address.

After:
Quote
  BASE_URL_PERSON_PRE      = 'http://www.imdb.com/name/';      //The traditional BASE_UR to person ID 'http://httpS://www.imdb.com/name/    nm0094036/'
  BASE_URL_PERSON_PRE_TRUE = 'https://www.imdb.com/name/';      //True actual link to person ID 'http://httpS://www.imdb.com/name/    nm0094036/'

After changing the part of the code to a regular URL, now the names for the actor, producer, or other categories of people are recorded correctly, as it should be.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 199
    • View Profile
Re: Alternative
« Reply #52 on: June 03, 2018, 02:38:06 pm »
The Alfa 9 version ONLY SCRIPT FOLDER .... we are near of Beta versión  ;D:
http://vvveasy.altervista.org/wp-content/uploads/2018/06/Scripts-V.Alfa_.9.zip

Corrected: Https in persons, AKA empty values and Change "Get Length" parameter to "Get Feautures"  to retreive original movie technical spec (RunTime, languages, aspect,etc) in all scripts (Ivek23 sugestion-code)

Change the ancient folder for the new folder. 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.
----------------------------------------------------------------------------------------------------------------

Quote
Plot Keywords (~ category ~ "keywords") has not been on Imdb web sites for a long time as an area Category (also in PVD for a long time, the Category field is empty), but this information is taken as Tags and the info is transferred to the PVD Tags normal field.
In PVD there are three similar fields, with comma separated list and list filter capabilities and is not easy to differentiate.
We can see with an example, for instance with “The GodFather":
~genre~   = Genre
    IMDB= Drama, Crime
    TheMovieDB= Drama, Crime
    FilmAffinity= Drama
~category~ or ~tags~ (Plot Keywords)
    IMDB= Mafia, crime family, patriarch, organized crime, rise to power
    TheMovieDB=  Italy, loss of loved one, love at first sight, Italian american, europe, patriarch, organized crime, mafia, lawyer, crime, crime family, rise to power, mob boss, 1940s, 1950s
    FilmAffinity= Mafia. Crime. 1940s. 1950s. Family Relationships. Cult Movie.
For me, Mafia, Crime, 1940s or Cult Movie are categories of films but is true that nowadays, in internet, we use more Tags than Category.
Well how Category appears before in PVD, just below of Genre, I take this field and left Tags for a user use like own age certification.



Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #53 on: June 05, 2018, 06:35:57 am »
IMDB_ [EN] [HTTPS] script

Quote
    //Get ~description~
    curPos:=Pos('<span itemprop="description">',HTML);                                 //WEB_SPECIFIC.
    If 0<curPos Then Begin
       ItemValue:=TextBetWeen(HTML,'<span itemprop="description">','<em class="nobr">',false,curPos);   //Strings which opens/closes the data. WEB_SPECIFIC
       AddFieldValueXML('description',ItemValue);
       LogMessage('      Get result description:'+ItemValue+'||');
    End;
For 8 Mile, the previous description code did not transfer information. When I fix it, it works fine, as well as for other movie titles.
Quote
Function ParsePage_IMDBMovieBASE(HTML:String):Cardinal; //BlockOpen
    //Returns:
    //     Result:=prFinished; Script has finished gathering data
    //     Result:=prError; If not results
    //Retrieve: ~title~, ~year~, ~origtitle~, ~poster~ / ~imdbrating~, ~IMDB_Votes~ (Custom Field) / ~TOP_250~(Custom Field) /
    //          If Not(GET_FULL_CREDIT): ~crew~ctDirectors,ctWriters,ctComposers,ctProducers(Not in base page), ctActors
    //         ~description~ / ~category~ "keywords" / ~tagline~ / ~genre~
    //         If Not(GET_FULL_MPAA) ~mpaa~
    //         ~country~ / ~rdate~ in contry provider local IP geolocation
    //         If Not(GET_FULL_AKA) ~aka~.
    //         ~budget~ / ~money~ / ~studio~ "Production Co"
    //         If GET_FEATURES ~features~
  Var
      debug_pos1:Integer;
      curPos,endPos,index:Integer;
      ItemValue,ItemList:String;
      titleValue:String;
      Name,Role,PersonURL:String;
      IMDb_ID:String;
  Begin
    LogMessage('Function ParsePage_IMDBMovieBASE BEGIN======================|');
    //Because the script don't retreives the data in the page order a token search for the first curPos position is mandatory
    //Get ~IMDbID~   
    IMDb_ID:=StringReplace(DownloadURL,'https://www.imdb.com/title/','',True,False,False);
    IMDb_ID := StringReplace(IMDb_ID,'/','',True,False,False);
    AddCustomFieldValueByName('IMDbID',IMDb_ID);
    LogMessage('      Get result IMDbID:'+IMDb_ID+'||'); 
    //Get ~title~, ~year~, ~origtitle~, ~poster~
.
.
.
    //Get ~description~
    //curPos:=Pos('<span itemprop="description">',HTML);                                 //WEB_SPECIFIC.
    //If 0<curPos Then Begin
    //   ItemValue:=TextBetWeen(HTML,'<span itemprop="description">','<em class="nobr">',false,curPos);   //Strings which opens/closes the data. WEB_SPECIFIC
    //   AddFieldValueXML('description',ItemValue);
    //   LogMessage('      Get result description:'+ItemValue+'||');
    //End;
    //Get ~description~
    If Pos('<h2>Storyline</h2>',HTML)>0 then begin
    EndPos:= Pos('<h2>Storyline</h2>', HTML);
    curPos:=Pos('<h2>Storyline</h2>',HTML);                                 //WEB_SPECIFIC.
       If 0<curPos Then Begin
          ItemValue:=TextBetWeen(HTML,'<h2>Storyline</h2>','<span class="see-more inline">',false,curPos);   //Strings which opens/closes the data. WEB_SPECIFIC
          ItemValue := StringReplace(ItemValue, 'Industry information at your fingertips', '', true, false, true);
          ItemValue := StringReplace(ItemValue, 'Some parts of this page won'+#39+'t work property. Please reload or try later.', '', true, false, true);
          debug_pos1:=Pos('Written by',ItemValue);
          if debug_pos1 >0 then ItemValue := Copy(ItemValue,0,debug_pos1-1);
          AddFieldValueXML('description',ItemValue);
          LogMessage('      Get result description:'+ItemValue+'||');
       End;
    End;

Also added is the IMDB Id code.

I also redefined part of the budget code and box office code.
Before:
Quote
    //Get ~budget~
    curPos:=Pos('<h4 class="inline">Budget:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Budget:</h4>','<',false,curPos);      //Strings which opens/closes the data. WEB_SPECIFIC
       AddFieldValueXML('budget',ItemValue);
       LogMessage('      Get results Budget:'+ItemValue+'||');
    End;       
    //Get ~money~ Box Office worldwide 
    curPos:=Pos('<h4 class="inline">Cumulative Worldwide Gross:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Cumulative Worldwide Gross:</h4>','<',false,curPos);      //Strings which opens/closes the data. WEB_SPECIFIC
       AddFieldValueXML('money',ItemValue);
       LogMessage('      Get results Box Office worldwide:'+ItemValue+'||');
    End;

After:
Quote
    //Get ~budget~
    curPos:=Pos('<h4 class="inline">Budget:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Budget:</h4>','<',false,curPos);      //Strings which opens/closes the data. WEB_SPECIFIC
       ItemValue:=StringReplace(ItemValue,#36,'',True,True,False);        //Eliminate '$' if exists 
       ItemValue:=StringReplace(ItemValue,',','',True,True,False);        //Eliminate ',' if exists       
       AddFieldValueXML('budget',ItemValue);
       LogMessage('      Get results Budget:'+ItemValue+'||');
    End;
    //Get ~money~ Box Office worldwide 
    curPos:=Pos('<h4 class="inline">Cumulative Worldwide Gross:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Cumulative Worldwide Gross:</h4>','<',false,curPos);      //Strings which opens/closes the data. WEB_SPECIFIC
       ItemValue:=StringReplace(ItemValue,#36,'',True,True,False);        //Eliminate '$' if exists 
       ItemValue:=StringReplace(ItemValue,',','',True,True,False);        //Eliminate ',' if exists       
       AddFieldValueXML('money',ItemValue);
       LogMessage('      Get results Box Office worldwide:'+ItemValue+'||');
    End;

The code for Gross USA can also be used. So I have a budget code for the budget, Gross USA and a box office.
Quote
    //Get ~budget~
    curPos:=Pos('<h4 class="inline">Budget:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Budget:</h4>','<',false,curPos);      //Strings which opens/closes the data. WEB_SPECIFIC
       ItemValue:=StringReplace(ItemValue,#36,'',True,True,False);        //Eliminate '$' if exists 
       ItemValue:=StringReplace(ItemValue,',','',True,True,False);        //Eliminate ',' if exists       
       AddFieldValueXML('budget',ItemValue);
       LogMessage('      Get results Budget:'+ItemValue+'||');
    End;
    //Get ~budget~
    curPos:=Pos('<h4 class="inline">Budget:</h4>',HTML);      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=StringReplace(TextBetWeen(HTML,'<h4 class="inline">Budget:</h4>','<',false,curPos),',','.',true, false, true);
       AddCustomFieldValueByName('Imdb Budget',ItemValue);
       LogMessage('      Get results Budget_1:'+ItemValue+'||');
    End;
    //Get ~money~ Gross USA 
    curPos:=Pos('<h4 class="inline">Gross USA:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Gross USA:</h4>','<',false,curPos);      //Strings which opens/closes the data. WEB_SPECIFIC
       ItemValue:=StringReplace(ItemValue,#36,'',True,True,False);        //Eliminate '$' if exists 
       ItemValue:=StringReplace(ItemValue,',','',True,True,False);        //Eliminate ',' if exists       
       AddFieldValueXML('money',ItemValue);
       LogMessage('      Get results Gross USA:'+ItemValue+'||');
    End;
    //Get ~money~ Gross USA 
    curPos:=Pos('<h4 class="inline">Gross USA:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin
       ItemValue:=StringReplace(TextBetWeen(HTML,'<h4 class="inline">Gross USA:</h4>','<',false,curPos),',','.',true, false, true);      //Strings which opens/closes the data. WEB_SPECIFIC
       AddCustomFieldValueByName('Gross USA:',ItemValue);
       LogMessage('      Get results Gross_USA:'+ItemValue+'||');
    End;         
    //Get ~money~ Box Office worldwide 
    curPos:=Pos('<h4 class="inline">Cumulative Worldwide Gross:</h4>',HTML);                                      //WEB_SPECIFIC
    If 0<curPos Then Begin       
       ItemValue:=TextBetWeen(HTML,'<h4 class="inline">Cumulative Worldwide Gross:</h4>','<',false,curPos);      //Strings which opens/closes the data. WEB_SPECIFIC
       AddFieldValueXML('money',ItemValue);
       AddCustomFieldValueByName('Imdb Box Office:',ItemValue);
       LogMessage('      Get results Box Office worldwide:'+ItemValue+'||');
    End;

The User Reviews code could also be added.
« Last Edit: June 05, 2018, 10:20:39 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #54 on: June 05, 2018, 06:37:35 am »
IMDB_ [EN] [HTTPS] script

For Alexander the Great (2006) movie there is no download of the poster movie, although Alexander the Great (2006) is the Imdb website.

http://www.imdb.com/title/tt0480507/

Quote
(5.6.2018 7:01:22) PVD Version: 1.0.2.7
(5.6.2018 7:01:22) OS: Windows 7 Ultimate Edition
(5.6.2018 7:01:22) GlassFrame Enabled
(5.6.2018 7:01:22) Plugin loaded: csvimp.dll 0.1.3.1
(5.6.2018 7:01:23) Plugin loaded: mpexport.dll 0.1.0.2
(5.6.2018 7:01:23) Plugin loaded: msexcel.dll 0.4.1.0
(5.6.2018 7:01:23) Plugin loaded: plainexp.dll 0.7.1.2
(5.6.2018 7:01:23) Plugin loaded: scriptint.dll 0.3.0.2
(5.6.2018 7:01:23) Plugin loaded: valueconvert.dll 0.1.0.2
(5.6.2018 7:01:23) Compiling script: IMDB_[EN][HTTPS].psf
(5.6.2018 7:01:23) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1091:47): "and True" is not needed
(5.6.2018 7:01:23) Executing script binary
(5.6.2018 7:01:23) Compiling script: IMDB_[EN][HTTPS]1.psf
(5.6.2018 7:01:23) Script compiled successfully: IMDB_[EN][HTTPS]1.psf
[Warning] (1295:47): "and True" is not needed
(5.6.2018 7:01:23) Executing script binary
(5.6.2018 7:01:23) Compiling script: IMDB_[EN][HTTPS]3.psf
(5.6.2018 7:01:23) Script compiled successfully: IMDB_[EN][HTTPS]3.psf
[Warning] (795:47): "and True" is not needed
(5.6.2018 7:01:23) Executing script binary
(5.6.2018 7:01:23) Compiling script: PVdBScriptConfig.psf
(5.6.2018 7:01:23) Script compiled successfully: PVdBScriptConfig.psf
(5.6.2018 7:01:23) Executing script binary
(5.6.2018 7:01:23) Script loaded: IMDB_[EN][HTTPS].psf 1.0.0.0
(5.6.2018 7:01:23) Script loaded: IMDB_[EN][HTTPS]1.psf 1.0.0.0
(5.6.2018 7:01:23) Script loaded: IMDB_[EN][HTTPS]3.psf 1.0.0.0
(5.6.2018 7:01:23) Script loaded: PVdBScriptConfig.psf 1.0.0.0
(5.6.2018 7:01:24) Loading database: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\movies.pvd
(5.6.2018 7:01:25) Query time: 0 ms
(5.6.2018 7:30:36) Compiling script: IMDB_[EN][HTTPS].psf
(5.6.2018 7:30:36) Script compiled successfully: IMDB_[EN][HTTPS].psf
[Warning] (1091:47): "and True" is not needed
(5.6.2018 7:30:36) Executing script binary
(5.6.2018 7:30:36) Prijava v...
(5.6.2018 7:30:37) Function GetDownloadURL BEGIN======================|
(5.6.2018 7:30:37) Global Var-Mode|0|
(5.6.2018 7:30:37) Global Var-DownloadURL||
(5.6.2018 7:30:37)       IMDB URL.
(5.6.2018 7:30:37)       Parse stored information DownloadURL:https://www.imdb.com/title/tt0480507/||
(5.6.2018 7:30:37) Function GetDownloadURL END====================== with Mode=1 Result=D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\portable.bat|
(5.6.2018 7:30:37) Iskanje Film Podatkov za: Alexander the Great
(5.6.2018 7:30:37) Function ParsePage BEGIN======================|
(5.6.2018 7:30:37) Global Var-Mode|1|
(5.6.2018 7:30:37) Global Var-DownloadURL|https://www.imdb.com/title/tt0480507/|
(5.6.2018 7:30:37) Local Var-URL||
(5.6.2018 7:30:37)   ParsePage mode smNormal|1|. Getting provider data for MovieID|tt0480507|
(5.6.2018 7:30:37)       Get result url:http://www.imdb.com/title/tt0480507/||
(5.6.2018 7:30:37) Function DownloadPage BEGIN======================|
(5.6.2018 7:30:37) Global Var-DownloadURL|https://www.imdb.com/title/tt0480507/|
(5.6.2018 7:30:37)    Local Var-URL|https://www.imdb.com/title/tt0480507/|
(5.6.2018 7:30:37)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:38)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title/tt0480507/||
(5.6.2018 7:30:38)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:40)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:42)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:45)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:45) Function DownloadPage END======================|
(5.6.2018 7:30:45) Function ParsePage_IMDBMovieBASE BEGIN======================|
(5.6.2018 7:30:45)       Get result title:Alexander the Great||
(5.6.2018 7:30:45)       Get result year:2006||
(5.6.2018 7:30:45)       Get result origtitle:Alexander the Great||
(5.6.2018 7:30:45)       Get result imdbrating:5.5||
(5.6.2018 7:30:45)       Get result IMDB_Votes:196||
(5.6.2018 7:30:45)       Get result description:||
(5.6.2018 7:30:45)       Get results Category:king                        , character name in title            ,||
(5.6.2018 7:30:45)       Get result tagline:The Story of a Legend||
(5.6.2018 7:30:45)       Get results Genre:Animation||
(5.6.2018 7:30:45)       Get results Country:Italy||
(5.6.2018 7:30:45)       Get results Release Date:10.3.2006||
(5.6.2018 7:30:45)       Get results Studio/Production Co:Difarm Inc.||
(5.6.2018 7:30:45)       Get result Color:Color||
(5.6.2018 7:30:45)       Get result Aspect Ratio:1.85 : 1||
(5.6.2018 7:30:45)       Get result Movie Features:Color: Color<br>Aspect Ratio: 1.85 : 1<br>||
(5.6.2018 7:30:45) Function ParsePage_IMDBMovieBASE END=====================||
(5.6.2018 7:30:45) Function DownloadPage BEGIN======================|
(5.6.2018 7:30:45) Global Var-DownloadURL|https://www.imdb.com/title/tt0480507/releaseinfo?ref_=tt_dt_dt#akas|
(5.6.2018 7:30:45)    Local Var-URL|https://www.imdb.com/title/tt0480507/releaseinfo?ref_=tt_dt_dt#akas|
(5.6.2018 7:30:45)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:46)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title/tt0480507/releaseinfo?ref_=tt_dt_dt#akas||
(5.6.2018 7:30:46)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:48)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:50)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:50) Function DownloadPage END======================|
(5.6.2018 7:30:50) Function ParsePage_IMDBMovieAKA BEGIN=====================||
(5.6.2018 7:30:50)            Parse results (52285,52527) complex ItemList:                                                        Bulgaria (Bulgarian title)|                        Александър Велики|                        ||
(5.6.2018 7:30:50)       Get results aka:||
(5.6.2018 7:30:50) Function ParsePage_IMDBMovieAKA END=====================||
(5.6.2018 7:30:50) Function DownloadPage BEGIN======================|
(5.6.2018 7:30:50) Global Var-DownloadURL|https://www.imdb.com/title/tt0480507/fullcredits?ref_=tt_cl_sm#cast|
(5.6.2018 7:30:50)    Local Var-URL|https://www.imdb.com/title/tt0480507/fullcredits?ref_=tt_cl_sm#cast|
(5.6.2018 7:30:50)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:51)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title/tt0480507/fullcredits?ref_=tt_cl_sm#cast||
(5.6.2018 7:30:51)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:53)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:55)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:55) Function DownloadPage END======================|
(5.6.2018 7:30:55) Function ParsePage_IMDBMovieCREDIT BEGIN=====================||
(5.6.2018 7:30:55)       Parse Results PersonURL:http://www.imdb.com/name/nm2034950/||
(5.6.2018 7:30:56)       Parse Results Name:Daehong Kim||
(5.6.2018 7:30:56)       Get results Director:#1|Daehong Kim|http://www.imdb.com/name/nm2034950/||ctDirectors
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm0960417/||
(5.6.2018 7:30:56)       Parse Results Name:Johnny Hartmann||
(5.6.2018 7:30:56)       Get results Writer:#1|Johnny Hartmann|http://www.imdb.com/name/nm0960417/||ctWriters
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm0768687/||
(5.6.2018 7:30:56)       Parse Results Name:Luciano Scaffa||
(5.6.2018 7:30:56)       Get results Writer:#2|Luciano Scaffa|http://www.imdb.com/name/nm0768687/||ctWriters
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm2038209/||
(5.6.2018 7:30:56)       Parse Results Name:Matteo Corradi||
(5.6.2018 7:30:56)       Get results Producers:#1|Matteo Corradi|http://www.imdb.com/name/nm2038209/||ctProducers
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm0180664/||
(5.6.2018 7:30:56)       Parse Results Name:Orlando Corradi||
(5.6.2018 7:30:56)       Get results Producers:#2|Orlando Corradi|http://www.imdb.com/name/nm0180664/||ctProducers
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm0228147/||
(5.6.2018 7:30:56)       Parse Results Name:Mark A.Z. Dippé||
(5.6.2018 7:30:56)       Get results Producers:#3|Mark A.Z. Dippé|http://www.imdb.com/name/nm0228147/||ctProducers
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm1545935/||
(5.6.2018 7:30:56)       Parse Results Name:Jong Han Kim||
(5.6.2018 7:30:56)       Get results Producers:#4|Jong Han Kim|http://www.imdb.com/name/nm1545935/||ctProducers
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm1098194/||
(5.6.2018 7:30:56)       Parse Results Name:Youngki Lee||
(5.6.2018 7:30:56)       Get results Producers:#5|Youngki Lee|http://www.imdb.com/name/nm1098194/||ctProducers
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm2034950/||
(5.6.2018 7:30:56)       Parse Results Name:Daehong Kim||
(5.6.2018 7:30:56)       Get results Composers:#1|Daehong Kim|http://www.imdb.com/name/nm2034950/||ctComposers
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm0010486/||
(5.6.2018 7:30:56)       Parse Results Name:Mark Adair-Rios||
(5.6.2018 7:30:56)       Parse Results Role:Alexander       (voice)||
(5.6.2018 7:30:56)       Get results cast:#1|Mark Adair-Rios|Alexander       (voice)|http://www.imdb.com/name/nm0010486/||ctActors
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm0178875/||
(5.6.2018 7:30:56)       Parse Results Name:Chris Coppola||
(5.6.2018 7:30:56)       Parse Results Role:Darius       (voice)||
(5.6.2018 7:30:56)       Get results cast:#2|Chris Coppola|Darius       (voice)|http://www.imdb.com/name/nm0178875/||ctActors
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm2279608/||
(5.6.2018 7:30:56)       Parse Results Name:Nicolai Dorian||
(5.6.2018 7:30:56)       Parse Results Role:Boy Alexander       (voice)||
(5.6.2018 7:30:56)       Get results cast:#3|Nicolai Dorian|Boy Alexander       (voice)|http://www.imdb.com/name/nm2279608/||ctActors
(5.6.2018 7:30:56)       Parse Results PersonURL:http://www.imdb.com/name/nm2338214/||
(5.6.2018 7:30:56)       Parse Results Name:Ronn Ozuk||
(5.6.2018 7:30:56)       Parse Results Role:Aristotle /              Oxyathres       (voice)||
(5.6.2018 7:30:56)       Get results cast:#4|Ronn Ozuk|Aristotle /              Oxyathres       (voice)|http://www.imdb.com/name/nm2338214/||ctActors
(5.6.2018 7:30:56) Function ParsePage_IMDBMovieCREDIT END=====================||
(5.6.2018 7:30:56) Function DownloadPage BEGIN======================|
(5.6.2018 7:30:56) Global Var-DownloadURL|https://www.imdb.com/title/tt0480507/awards?ref_=tt_awd|
(5.6.2018 7:30:56)    Local Var-URL|https://www.imdb.com/title/tt0480507/awards?ref_=tt_awd|
(5.6.2018 7:30:56)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:57)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm the information of:|https://www.imdb.com/title/tt0480507/awards?ref_=tt_awd||
(5.6.2018 7:30:57)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:30:59)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:31:01)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:31:01) Function DownloadPage END======================|
(5.6.2018 7:31:01) Function ParsePage_IMDBMovieAWARDS BEGIN=====================||
(5.6.2018 7:31:01) Function ParsePage_IMDBMovieAWARDS END=====================||
(5.6.2018 7:31:01) Function DownloadPage BEGIN======================|
(5.6.2018 7:31:01) Global Var-DownloadURL|http://www.imdb.com/title/tt0480507/parentalguide?ref_=tt_stry_pg#certification|
(5.6.2018 7:31:01)    Local Var-URL|http://www.imdb.com/title/tt0480507/parentalguide?ref_=tt_stry_pg#certification|
(5.6.2018 7:31:01)       Waiting 1s for delete:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:31:02)       Download with PVdBDownPage in file:|D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm the information of:|http://www.imdb.com/title/tt0480507/parentalguide?ref_=tt_stry_pg#certification||
(5.6.2018 7:31:02)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:31:04)       Waiting 2s for exists of:D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:31:07)       Now present complete page file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB9\Scripts\downpage-UTF8_NO_BOM.htm
(5.6.2018 7:31:07) Function DownloadPage END======================|
(5.6.2018 7:31:07) Function ParsePage_IMDBMovieMPAA BEGIN=====================||
(5.6.2018 7:31:07)       MPAA.USA.Corrected:||
(5.6.2018 7:31:07)       Get result MPAA=||
(5.6.2018 7:31:07) Function ParsePage_IMDBMovieMPAA END=====================||
(5.6.2018 7:31:07)     Provider data info retreived Ok in 2018-06-05 07:31:07|
(5.6.2018 7:31:07) Function ParsePage NORMAL END======================|
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #55 on: June 05, 2018, 06:48:49 am »
IMDB_People_[EN][HTTPS]

You can add altnames, birthplace, full bio and even awards, if possible. I use the most Imdb for peoples information, and occasionally also the TMDB (which is extremely rare) is also considered.

Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #56 on: June 05, 2018, 07:03:12 am »
IMDB_ [EN] [HTTPS] script

For Alexander the Great (2006) movie there is no download of the Aka info, although Alexander the Great (2006) is the Imdb website.

http://www.imdb.com/title/tt0480507/

Log record is already published.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 199
    • View Profile
Re: Alternative
« Reply #57 on: June 05, 2018, 08:43:48 pm »
The Beta 1 version
http://vvveasy.altervista.org/wp-content/uploads/2018/06/PersonalVideoDB_MOD-V.Beta_.1.zip

Beta Testers: Run NOW with "debug.bat". So if you have problems, please is very important the name of the movie and attach the file: PersonalVideoDB\log.txt   

----------------------------------------------------------------------------------------------------------------
"Dirty" own collection adaptation:
Important: Make a secure copy and a test copy of your own actual PDV installation.
Unzip the beta versión and change the folders: Scripts and Plugings of your test copy.
Run PVD in portable mode (portable.bat) without internet proxi.
In Preferences/Movies/Custom Ítems add the fields:
Set (Short Text), TOP_250 (Number), IMDB_Votes (Number), TheMoviedb_Votes (Number), FilmAffinity_Votes (Number)
----------------------------------------------------------------------------------------------------------------
Corrected:
1) Alexander the Great (2006) aka and poster issues.
2) The 8 Mile description issue
3) Added the ~Budget~ and ~money~ corrections (Ivek23 code)

Ivek23:
Quote
The code for Gross USA can also be used. So I have a budget code for the budget, Gross USA and a box office.
Quote
The User Reviews code could also be added.
In the base versión, I don't want add a lot of customs fields. We can let to the users reclaim it.
Quote
Also added is the IMDB Id code.
This is more a PVD work than a download parse routine work. So I put in line 1132 with a optimiced code.

Quote
IMDB_People_[EN][HTTPS]
You can add altnames, birthplace, full bio and even awards, if possible. I use the most Imdb for peoples information, and occasionally also the TMDB (which is extremely rare) is also considered.
There is a lot of work in this point. The People explotation is not very used (even it not work very well in PVD) so I want first publish a PVD_MOD funtional versión with several working languages: (EN, ES, FR in TheMovieDB) and (ES, EN in FilmAffinity)


« Last Edit: June 07, 2018, 07:00:57 am by VVV_Easy_Programing »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #58 on: June 07, 2018, 06:43:05 pm »
Quote
Also added is the IMDB Id code.
This is more a PVD work than a download parse routine work. So I put in line 1132 with a optimiced code.

I apologize because we did not understand this correctly (it was the speed at making the post due to the weather). Added IMDB Id code was meant for the IMDbID custom field.

It is also suggested to add the Technical Specs and User Reviews and Custom Fields codes, since these two were also in the Imdb movie plugin.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2511
    • View Profile
Re: Alternative
« Reply #59 on: June 07, 2018, 06:43:26 pm »
Quote
IMDB_People_[EN][HTTPS]
You can add altnames, birthplace, full bio and even awards, if possible. I use the most Imdb for peoples information, and occasionally also the TMDB (which is extremely rare) is also considered.
There is a lot of work in this point. The People explotation is not very used (even it not work very well in PVD) so I want first publish a PVD_MOD funtional versión with several working languages: (EN, ES, FR in TheMovieDB) and (ES, EN in FilmAffinity)

Hmm, I do not know what the users of the Russian section of the forum will say.

Namely, yesterday I saw a record in the Russian section of the forum in response to Imdb movie plugin problems. There it is written that we are preparing an alternative for a PVD program that will support a secure HTTPS connection for downloading movie and people information from Imdb and other websites.

It was especially emphasized that they want us to make this alternative, called PVD MOD, which we already have in the beta version, succeed and successfully bring it to the final version for all users.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD