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 ... 9 10 11 12 13 [14] 15 16 17 18 19 ... 133
261
Support / Re: New changes on ImdB made PVD 1.0.2.7 Unusable
« on: October 16, 2021, 07:49:33 am »
Hello Ivek, have you got any news on yr HDD drive and the updated *.psf files ?

Rgds
George

Some scripts have already been updated to work with the new IMDb layout. Minor cosmetic corrections are needed. If you want, I can upload them to the forum earlier, because I wanted to fix all your scripts from the package you uploaded and upload them all back to the forum at once.

Here is a list of the following IMDb scripts that have already been fixed.

  • Imdb Movie Info(title)
  • Imdb Movie
  • Imdb Movie(tech specs) and Imdb+Movie(tech+specs)
  • Imdb Movie(plotkeywords)
  • Imdb Movie(plotsummary)
  • Imdb Movie(releaseinfo)
  • Imdb Movie(soundtrack)
  • Imdb Movie(taglines)
  • Imdb Movie(combined) and Imdb Movie(combined)2
  • Imdb Movie(parentsguide) and Imdb Movie(parentsguide)2

Thank you Ivek. I am most obliged to you ! I will be waiting for your news.

Best regards, George

New IMDB Movie(episodelist) (a) script and IMDB Movie(episodelist) script is attached.

More info:

http://www.videodb.info/forum_en/index.php/topic,4044.msg21456.html#msg21456
http://www.videodb.info/forum_en/index.php/topic,4044.msg21456.html#msg21457
http://www.videodb.info/forum_en/index.php/topic,4044.msg21456.html#msg21458


262
Support / Re: IMDB_[EN][HTTPS] new site layout script
« on: October 11, 2021, 11:23:46 am »
IMDB_[EN] [HTTPS]_RC3a, IMDB_[EN] [HTTPS](series)_RCa and IMDB_[EN] [HTTPS](episodes)_RCa scripts are now available.

Sorry!!! Error! Error! Error!
After choosing from the found films, an ERROR pops up !!!  :-[ :-[ :-[
P.S. Search window when importing information for serials (!pic2.jpg)???? Thank You!!!!

As for the Luca movie, I have no problems downloading information from IMDB_ [EN] [HTTPS] _RCa. Unfortunately, I can't answer why you have problems transferring information.

As for Neil's Valley of Tears_Sh'at series, all the same url addresses are visible in the Bing search, because the code for the url address was written in such a way that no different url links to other web pages for that series were displayed. Now I changed the Bing url address to search for results because the old Bing url address did not want to download the search results, but reported an error that it did not find the search results. This was probably a block for the Banned IP address, because I already have a similar experience with Kinopoisk.ru websites, where there is a captcha, which did not allow the transfer of information. Now I've added numbering to search results and make it easier to check the correct url.

IMDB_[EN] [HTTPS]_RC3a1, IMDB_[EN] [HTTPS](series)_RCa1 and IMDB_[EN] [HTTPS](episodes)_RCa1 scripts are now available.

IMDB_[EN] [HTTPS]_RC3a1, IMDB_[EN] [HTTPS](series)_RCa1 and IMDB_[EN] [HTTPS](episodes)_RCa1 script is added.

263
Support / Re: IMDB_[EN][HTTPS].psf
« on: October 07, 2021, 11:08:13 am »
More info for IMDB_[EN] [HTTPS]_RC3a, IMDB_[EN] [HTTPS](series)_RCa and IMDB_[EN] [HTTPS](episodes)_RCa scripts can be found at the link below.

http://www.videodb.info/forum_en/index.php/topic,4183.msg21491.html#msg21491

264
Support / Re: IMDB_[EN][HTTPS] new site layout script
« on: October 07, 2021, 09:41:14 am »
IMDB_[EN] [HTTPS]_RC3a, IMDB_[EN] [HTTPS](series)_RCa and IMDB_[EN] [HTTPS](episodes)_RCa scripts are now available.

If you do not manually enter the address of the series, then the PVD hangs, you can only see how the windows for connecting to IMDB appear, and then disappear. And so it will be until you turn off the program through the task manager (10, 20.... minutes). Checked on the TV series "Private Eyes" (2016).

In all of the above scripts, the search for results is corrected.

IMDB_ [EN] [HTTPS](series) _RC and IMDB_ [EN] [HTTPS](episodes) _RC scripts are now available.

The innovations around the custom fields are described above, and the other custom fields were from previous IMDB_ [EN][HTTPS] versions.


It's really not easy to keep track of all these custom fields and possibilities, so I can't remember if IMDB_Series-year custom field and the code in IMDB_[EN][HTTPS](series).psf was my "invention" or it is definitely missing in IMDB_ [EN] [HTTPS](series) _RC .psf

This was in earlier (series) script:
Quote
LogMessage('      Get series result for series year:'+ItemValue1+'||');
        //ItemValue1:=StringReplace(ItemValue1,'/a> ','',True,False,True);
        if ItemValue1 <> '' then AddFieldValueXML('year',ItemValue1);
        if ItemValue1 <> '' then LogMessage('      Get series result for series year2:'+ItemValue1+'||');
        AddCustomFieldValueByName('IMDB_Series-year',TextBetWeenFirst(ItemList,'title="See more release dates" >','</a>            </div>'));   
      LogMessage('      Get series result for series-year2:'+TextBetWeenFirst(ItemList,'title="See more release dates" >','</a>            </div>')+'||');

Any help on this?

Now a piece of code has also been added to your proposal in all the above scripts.
Quote
   StartPos:=Pos('releaseinfo?ref_=tt_ov_rdat',HTML);
   if StartPos>0 then begin
      yearValue:=HTMLValue(HTML,StartPos,0,'</a>','</span></li><li role="presentation" class="ipc-inline-list__item"><a href="/title/');
      //AddCustomFieldValueByName('IMDB_year',yearValue);
      //AddCustomFieldValueByName('IMDB Year',yearValue);
      AddCustomFieldValueByName('IMDB_Series-year',yearValue);

      if yearValue <> '' then LogMessage('      Get result Tv Mode (CF~IMDB_year~)+:'+yearValue);   
   end else
      LogMessage('tv-metadata-a not found');   

This part of the code is for IMDB_ [EN] [HTTPS] (series) _RCa script.

Quote
   StartPos:=Pos('releaseinfo?ref_=tt_ov_rdat',HTML);
   if StartPos>0 then begin
      yearValue:=HTMLValue(HTML,StartPos,0,'</a>','</span></li><li role="presentation" class="ipc-inline-list__item"><a href="/title/');
      AddCustomFieldValueByName('IMDB_year',yearValue);
      AddCustomFieldValueByName('IMDB Year',yearValue);
      //AddCustomFieldValueByName('IMDB_Series-year',yearValue);

      if yearValue <> '' then LogMessage('      Get result Tv Mode (CF~IMDB_year~)+:'+yearValue);   
   end else
      LogMessage('tv-metadata-a not found');   

This part of the code is for IMDB_ [EN] [HTTPS] _RC3a and IMDB_ [EN] [HTTPS] (episodes) _RCa script.

IMDB_[EN] [HTTPS]_RC3a, IMDB_[EN] [HTTPS](series)_RCa and IMDB_[EN] [HTTPS](episodes)_RCa script is added.

265
Support / Re: Episodes TV Series Problem
« on: October 07, 2021, 09:12:13 am »
Maybe this piece of code from series script explains a bit more?

Quote
   if (Pos('404 Not Found',Result)>0) then begin  //Banned IP. WEB_SPECIFIC.
        If BYPASS_SILENT Then ShowMessage('The URL is not in use (404 Not Found).'+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)+'      404 Not Found|');
        Result:=''; //Fatal error
    End;
   if (Pos('404 Error - IMDb',Result)>0) then begin  //Banned IP. WEB_SPECIFIC.
        If BYPASS_SILENT Then ShowMessage('The URL is not in use (404 Error - IMDb).'+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)+'      404 Error - IMDb|');
        Result:=''; //Fatal error

Thanks, afrocuban for this warning.

still have trouble with season trees in series:
When I run the new IMDB Movie(episodelist) (a) script and IMDB Movie(episodelist) script using proxomitron I get the error message HTTP/1.1 404 Not Found.
What seems to be the problem?
This happpens with all series when I try to run IMDB Movie(episodelist) (a) script and IMDB Movie(episodelist) script.
I can run IMDB_[EN][HTTPS]-a script, but the Imdb Movie Info-2a script gives the same error message.

All of the above scripts have the following piece of code in the ParsePage function
Quote
function ParsePage(HTML:String;URL:AnsiString):Cardinal; //BlockOpen
Begin
LogMessage('Function ParsePage BEGIN ====================== |');
LogMessage('Global Var-Mode | '+IntToStr(Mode)+' |');

Wait (pauseBeforeLoad);
HTML:=HTMLToText(HTML);
HTML:=StringReplace(HTML,'http://imdb.com','http://www.imdb.com',True,True,False);
LogMessage('     Parsing search Movie search results');

If (0<Pos('404 Not Found',HTML)) OR (0<Pos('HTTP/1.1 404 Not Found',HTML)) Then Begin
    ShowMessage('No results.','IMDb Search Results');
    Result:=prError;
    Exit;
   LogMessage('   -------- ParsePage Error Result ( '+IntToStr(Result)+' )');
   LogMessage('Function ParsePage smSearch-prError END======================|');
   LogMessage('Function ParsePage prError END======================|');
End;


If Pos('Find - IMDb',HTML) > 0 Then Begin
.
.
.
, which is probably the cause of these problems.

Block this part of the code for each of the above scripts.
Quote
//If (0<Pos('404 Not Found',HTML)) OR (0<Pos('HTTP/1.1 404 Not Found',HTML)) Then Begin
//    ShowMessage('No results.','IMDb Search Results');
//    Result:=prError;
//    Exit;
//   LogMessage('   -------- ParsePage Error Result ( '+IntToStr(Result)+' )');
   //LogMessage('Function ParsePage smSearch-prError END======================|');
   //LogMessage('Function ParsePage prError END======================|');
//End;

Then do a retest for each script separately to see if the same error still occurs.

266
Support / Re: Episodes TV Series Problem
« on: October 02, 2021, 10:04:24 am »
Great job Ivek!
I've been trying the new scripts and they all seem to work fine.

I still have trouble with season trees in series:
When I run the new IMDB Movie(episodelist) (a) script and IMDB Movie(episodelist) script using proxomitron I get the error message HTTP/1.1 404 Not Found.
What seems to be the problem?

The same mistake happened to me today. However, the cause was an internet connection lost and the test IMDb script could not connect to the server at www.imdb.com

Maybe this is just one of the causes of your problems.

267
Support / Re: IMDB_[EN][HTTPS] new site layout script
« on: October 02, 2021, 08:41:00 am »
IMDB_ [EN] [HTTPS](series) _RC and IMDB_ [EN] [HTTPS](episodes) _RC scripts are now available.

The innovations around the custom fields are described above, and the other custom fields were from previous IMDB_ [EN][HTTPS] versions.


It's really not easy to keep track of all these custom fields and possibilities, so I can't remember if IMDB_Series-year custom field and the code in IMDB_[EN][HTTPS](series).psf was my "invention" or it is definitely missing in IMDB_ [EN] [HTTPS](series) _RC .psf

This was in earlier (series) script:
Quote
LogMessage('      Get series result for series year:'+ItemValue1+'||');
        //ItemValue1:=StringReplace(ItemValue1,'/a> ','',True,False,True);
        if ItemValue1 <> '' then AddFieldValueXML('year',ItemValue1);
        if ItemValue1 <> '' then LogMessage('      Get series result for series year2:'+ItemValue1+'||');
        AddCustomFieldValueByName('IMDB_Series-year',TextBetWeenFirst(ItemList,'title="See more release dates" >','</a>            </div>'));   
      LogMessage('      Get series result for series-year2:'+TextBetWeenFirst(ItemList,'title="See more release dates" >','</a>            </div>')+'||');

Any help on this?

This is now really missing in IMDB_ [EN] (HTTPS) (series) _RC and also in IMDB_ [EN] [HTTPS] _RC as well as in other IMDB scripts. The problem with the new primary IMDb layout is in the source code of the IMDb web page, where the source code record is now the one that causes a lot of headaches, which part of the source code record can now be added to the script to transfer certain information correctly.

So now in all new IMDb scripts updates, parts of the code are missing, which were in previous IMDb scripts are present and written.

We will see what can be done for the problem described above, maybe the problem will be solved successfully.

268
Support / Re: Episodes TV Series Problem
« on: October 01, 2021, 07:05:00 am »
I don't know which one is the log file.
I have a log.txt but it is empty

Run PVD in debug mode with the debug.bat file, only then will the log file (log.txt) no longer be empty.

269
Support / Re: Episodes TV Series Problem
« on: September 29, 2021, 08:19:03 am »
Imdb Movie Info-2a script and IMDB_ [EN] [HTTPS] script can be found at the link below

http://www.videodb.info/forum_en/index.php/topic,4153.msg21404.html#msg21404

Also try these scripts, which you can find at the link below, if here too the same problem with the same error and message. If it will, then the problem is with Proxomitron programs or the problem is somewhere else.

I also need a log file, to see what is written in it when an error occurs.

270
Support / Re: Episodes TV Series Problem
« on: September 27, 2021, 08:27:09 pm »
This problem only happens with a specific series or with each series where you want to download information. Such a message appears if the url address is not valid. It would be nice to look at the log file that you will find in the PVD program folder to see what the problem is and when this problem occurs.

Then it will be easier to maybe solve the problem.

Alternatively, you can go to the Personal Video Database alternate Forum where you will find the downloaded Proxomitron files and download them. There may be a problem with the Proxomitron program.
You may need to register there first. Then write in the Personal Video Database alternate Forum that you have registered and I will approve your account.

The link below will take you to the Personal Video Database alternate Forum topic.


http://www.videodb.info/forum_en/index.php/topic,4181.0.html

271
Support / Re: New changes on ImdB made PVD 1.0.2.7 Unusable
« on: September 26, 2021, 01:28:28 pm »
Will be waiting for your comments.

I have already managed to update some of your scripts so that they now work on the new IMDb layout. They still need to be edited as needed for proper operation and to remove some unnecessary code snippets that are not required for operation or are simply redundant.

272
Support / Re: IMDB_[EN][HTTPS].psf
« on: September 26, 2021, 01:14:41 pm »
More info for IMDB_ [EN] [HTTPS](series) _RC and IMDB_ [EN] [HTTPS](episodes) _RC scripts can be found at the link below.

http://www.videodb.info/forum_en/index.php/topic,4183.msg21471.html#msg21471

273
Support / Re: IMDB_[EN][HTTPS] new site layout script
« on: September 26, 2021, 01:11:25 pm »
IMDB_ [EN] [HTTPS](series) _RC and IMDB_ [EN] [HTTPS](episodes) _RC scripts are now available.

The innovations around the custom fields are described above, and the other custom fields were from previous IMDB_ [EN][HTTPS] versions.

All these changes will also officially come into force in the next final versions of these scriprov, of course, if users agree with this novelty. If all goes well with the scripts, the final versions of the scripts will be available by around October 10 this year.


IMDB_ [EN] [HTTPS] (series) _RC and IMDB_ [EN] [HTTPS] (episodes) _RC script is added.

274
Support / Re: IMDB_[EN][HTTPS] new site layout script
« on: September 26, 2021, 12:55:17 pm »
Additionally for IMDB_ [EN] [HTTPS] _RC3 script:

The change for the CHANGE LOG, which is now added to the end of the script, except for the description for the latest and first version is still in the old place at the beginning of the script.

This and all of the above will mostly apply to IMDB_ [EN] [HTTPS] (series) _RC and IMDB_ [EN] [HTTPS] (episodes) _RC scripts.

275
Support / Re: IMDB_[EN][HTTPS].psf
« on: September 26, 2021, 08:53:18 am »
Hello Ivek.

Thank you so much for tremendous efforts to keep PVD live, especially with the recent IMDb and AllMovie script updates, which needed a lot of work and rewritings.

Welcome.

I have a question - do you, or anyone else know why "Title" isn't equal anymore with "Localized Title" when importing data? It should be the same since IMDb reads my IP and if there is localized title, it imports it in "Title" as such, making it equal with "Localized Title", right?

Or, am I missing something? I know this because of my skin. I had original "Title" field and until the end of July it always imported in that field localized title if there was one, but not anymore.

Thanks in advance for any thoughts or ideas on this.

This is now possible because changing the IMDb layout has also changed the code format in the IMDB_ [EN] [HTTPS] script. I have now made changes to the IMDB_ [EN] [HTTPS] _RC3 script, which can be found at the link below. there is also more information made in the IMDB_ [EN] [HTTPS] _RC3 script.

http://www.videodb.info/forum_en/index.php?topic=4183.msg21468#msg21468

In my case, I can change the language and country on the IMDb web pages in Content Settings because I am registered with imdb.com. You can try to register on IMDb, maybe something will help. If not, the option described above is still possible.

276
Support / Re: IMDB_[EN][HTTPS] new site layout script
« on: September 26, 2021, 08:28:39 am »
Here is a new test IMDB_ [EN] [HTTPS] _RC3 script where some new pieces of code and options have been added to the script.

To the afrocuban user's problem of transferring alternate title information to the Title normal field, options are now added to change the original title to the local movie title if there is a translation in your country. The options are set as before to transfer the original or alternate address. However, each user now manually sets these options. In addition, the Title normal field must then be marked so that when the information is transferred, only this information will also change to the Title normal field.


Quote
//Script Options-------------------------------------------------------------------------------------------------------
  //Retreive Data Config
  USE_SAVED_PVDCONFIG  = True ;  //Use the Overwrite Options of the script saved in pvdconf.ini for avoid download not used pages. Remember PVD only save in exit.
  GET_ORIGINAL_TITLE  = True ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there for to replace the original title in the Title field. 
//  GET_ORIGINAL_TITLE  = False ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there for to replace the original title in the Title field.
//  GET_LOCAL_TITLE  = True ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there.
  GET_LOCAL_TITLE  = False ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there. 

  GET_FULL_MPAA  = True ;  //Download Certification provider page for retreive the MPAA info. Otherwise only the info of the principal movie page.
  GET_FULL_AKA  = True ;  //Download 'Also Known As' provider page for retreive the info. Otherwise only the info of the principal movie page.
  GET_FULL_CREDIT  = True ;  //Download Cast or Credit provider page for retreive the info. Otherwise only the info of the principal movie page.
  PEOPLE_LIMIT  = 25;    //Limit of number of actors (cast) or of credits (crew) retrieved.
  GET_FULL_AWARDS  = True ;  //Download Awards provider page for retreive the info. Otherwise doesn't do nothingh because no info in the principal movie page.
  EVENTS_LIMIT  = 100;   //Limit of number of events (USA Academy Awards, Golden Globes, etc) to retrive awards.
  GET_FULL_FEATURES  = True ; //Download Technical Specs for retreive the original movie features (Runtime, Sound Mix, Color, Aspect Ratio, etc).
  //GET_FULL_FEATURES  = False ; //Download Technical Specs for retreive the original movie features (Runtime, Sound Mix, Color, Aspect Ratio, etc).
  GET_MINI_FEATURES  = True ; //Download Technical Specs for retreive the original movie features (Runtime, Sound Mix, Color, Aspect Ratio).
  //GET_MINI_FEATURES  = False ; //Download Technical Specs for retreive the original movie features (Runtime, Sound Mix, Color, Aspect Ratio).
  //GET_FEATURES  = True ; //Download Technical Specs for retreive the original movie features (Runtime, Sound Mix, Color, Aspect Ratio).
  GET_FEATURES  = False ; //Download Technical Specs for retreive the original movie features (Runtime, Sound Mix, Color, Aspect Ratio).

  GET_FULL_PLOTKEYWORDS  = True ;  //Download Plot Keywords provider page for retreive the Plot Keywords info. Otherwise only the info of the principal movie page
  PLOTKEYWORDS_LIMIT  = 100;  //Limit of number of tags retrieved only when download Plot Keywords provider page.
  GET_FULL_PLOTSUMMARY  = True ;  //Download Plot provider page for retreive the Summaries info. Otherwise only the info of the principal movie page
//  GET_FULL_PLOT_SUMMARY  = True ;  //Set to False to not wanted to Download full synopsis for Plot provider page for retreive the Synopsis info in Comment box. 
  GET_FULL_PLOT_SUMMARY  = False ;  //Set to True if to wanted to Download full synopsis for Plot provider page for retreive the Synopsis info in Comment box.
//  MAX_IMAGE_HEIGTH  = 1200; //Heigth limit of the stored posters.   
  MAX_IMAGE_HEIGTH  = 500; //Heigth limit of the stored posters.
  //Process Data Config
  PRESERVE_PVD_DESCRIPTION_SETTING  = True ; //Avoid double use of ~description~ and ~comment~ using only the user check fields table selection otherwise try get "plot_summary"
  //Process Behaviour Config
  BYPASS_SILENT  = True ;  //Ensure critical ShowMessage alerts bypassing Silent PVdB preferences
  CHECK_WEBSITE  = False ;  //Add to SearchResult List the true HTTPS links 'Just to check the website' with the browser
  POSTER_IN_SEARCH  = True ;//Download and show movie posters in the list of the SearchResult
  SEARCH_ENGINE  = True ;  //If there isn't provider search results, try with Bing search engine
  INTERNET_TEST_ITERATIONS  = 6;  //Attempts before to alert user that not internet connection detected. Increase if the provider has low speed.
//Script data------------------------------------------------------------------------------------------------------------

Quote
    //Get ~script info~
    //Get ~rdate~ in contry provider local IP geolocation. See: http://sobizarre-en.blogspot.fr/2014/12/how-to-easily-defeat-imdb-geolocation.html
    //Get ~imdbrating~, ~IMDB_Votes~ (Two tries)
    ItemList:=TextBetWeenFirst(HTML,'<script type="application/ld+json"','}</script>'); //WEB_SPECIFIC.
   //LogMessage('           Parse results ('+IntToStr(curPos)+','+IntToStr(endPos)+') complex ItemList: '+'<script type="application/ld+json"'+ItemList+'}</script>'+'||');
    If (Length(ItemList)>0) Then Begin
   
        //Get ~title~
        titleValue:=TextBetWeenFirst(ItemList,'","name":"','","');       //Strings which opens/closes the data. WEB_SPECIFIC
        If titleValue = '0' then titleValue:='';
        //If titleValue = '' then titleValue:=TextBetWeenFirst(ItemList,'<h1 class="long">','<');       //Strings which opens/closes the data. WEB_SPECIFIC
        if GET_ORIGINAL_TITLE then AddFieldValueXML('title',titleValue);
      AddCustomFieldValueByName('Title',titleValue);
      //AddCustomFieldValueByName('Localized title',titleValue);
        LogMessage('      Get result title:'+titleValue+'||');
      
        //Get ~origtitle~
        ItemValue:=TextBetWeenFirst(ItemList,'","name":"','","');          //Strings which opens/closes the data. WEB_SPECIFIC
        If (Length(ItemValue)=0) Then ItemValue:=titleValue;                           //Provider hides the original title if same that title. WEB_SPECIFIC
        AddFieldValueXML('origtitle',ItemValue);
      AddCustomFieldValueByName('Origtitle',ItemValue);
      LogMessage('      Get result origtitle:'+ItemValue+'||');

        //Get ~alternatetitle~
        ItemValue:=TextBetWeenFirst(ItemList,'","alternateName":"','","');          //Strings which opens/closes the data. WEB_SPECIFIC
      AddCustomFieldValueByName('Localized title',ItemValue);
      if GET_LOCAL_TITLE then AddFieldValueXML('title',ItemValue);
        if ItemValue <> '' then LogMessage('      Get result alternatetitle:'+ItemValue+'||');      
      //Get ~IMDB_Movietype~
      ItemValue:=TextBetWeenFirst(ItemList,'","@type":"','","');   //Strings which opens/closes the data. WEB_SPECIFIC
      MediaType:=ItemValue;
      MediaType:=StringReplace(MediaType,'TVEpisode','TV Episode',True,False,True);
      MediaType:=StringReplace(MediaType,'TVSeries','TV Series',True,False,True);
      AddCustomFieldValueByName('IMDB_Movietype',MediaType);
      if ItemValue <> '' then LogMessage('      Get result MediaType (CF~IMDB_Movietype~):'+MediaType+'||');
      //Get ~IMDB_MPAA~   
      ItemValue:=TextBetWeenFirst(ItemList,'","contentRating":"','","');   //Strings which opens/closes the data. WEB_SPECIFIC
      AddCustomFieldValueByName('IMDB_MPAA',ItemValue);
      if ItemValue <> '' then LogMessage('      Get result ContentRating (CF~IMDB_MPAA~):'+ItemValue+'||');       
      //(*
      //Get ~posters~
      ItemValue:=TextBetWeenFirst(ItemList,BASE_URL_IMAGE_PRE_TRUE,'.');                 //Get poster code. Strings which opens/closes the data. WEB_SPECIFIC
      if ItemValue <> '' then LogMessage('      Get result poster000: '+ItemValue+' ||');
        If ((Length(ItemValue)>0) and Not(USE_SAVED_PVDCONFIG and (Copy(PVDConfigOptions,opPoster,1)='0'))) then begin  //The Poster will be saved in PVDthen begin
            ItemValue:=BASE_URL_IMAGE_PRE_TRUE + ItemValue;                             //Base poster URL without '.jpg'. WEB_SPECIFIC
            LogMessage('      Get result poster00: '+ItemValue+' ||');
            ImageFile:=GetAppPath+'Scripts\'+BASE_DOWNLOAD_FILE_IMAGE_NAME+'-Poster.jpg'
            // Avoid HTTPS redirection: Download https image to file  OutPutFile=
            If (1=DownloadImage(ItemValue + '._V1_UY' + IntToStr(MAX_IMAGE_HEIGTH) + '_.jpg',ImageFile)) then begin  //Dowload in the selected user max size. WEB_SPECIFIC
                AddImageURL(itPoster,ImageFile);    //Get the photo from a file even if the next line we log the true URL.
                LogMessage('      Get result poster: ' + #13 + ItemValue + '._V1_UY' + IntToStr(MAX_IMAGE_HEIGTH) + '_.jpg'+' ||');
            end else if (1=DownloadImage(ItemValue +'.jpg',ImageFile)) then begin  //Dowload in the web base size. WEB_SPECIFIC
                AddImageURL(itPoster,ImageFile);    //Get the photo from a file even if the next line we log the true URL.
                LogMessage('      Get result poster0: ' + #13 + ItemValue + '.jpg'+' ||');
            end;
        End; 
      //*)   
      //Get ~year~   
      //ItemValue1:=TextBetWeenFirst(ItemList,'"datePublished": "','-');
      ItemValue1:=TextBetWeenFirst(ItemList,',"datePublished":"','-');
      //ItemValue1:=TextBetWeenFirst(ItemList,'},"datePublished":"','-');      
        AddFieldValueXML('year',ItemValue1);
        if ItemValue1 <> '' then LogMessage('      Get result year01:'+ItemValue1+'||');
      //Get ~rdate~~IMDB Release Date~
      //ItemValue:=TextBetWeenFirst(ItemList,'"datePublished": "','",');   //Strings which opens/closes the data. WEB_SPECIFIC
      ItemValue:=TextBetWeenFirst(ItemList,',"datePublished":"','","');   //Strings which opens/closes the data. WEB_SPECIFIC      
        ItemValue:=StringReplace(ItemValue,'-01','-1',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-02','-2',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-03','-3',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-04','-4',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-05','-5',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-06','-6',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-07','-7',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-08','-8',True,False,True);
        ItemValue:=StringReplace(ItemValue,'-09','-9',True,False,True);
      if ItemValue <> '' then LogMessage('      Get result ReleaseDatePublished: '+ItemValue+' ||');      
      if ItemValue <> '' then begin
            ExplodeString(ItemValue,ItemArray,'-');
            ItemValue:=ItemArray[2]+'.'+ ItemArray[1]+'.'+ItemArray[0];
         AddFieldValueXML('rdate',ItemValue);   
         AddCustomFieldValueByName('IMDB Release Date',ItemValue);   
            if ItemValue <> '' then LogMessage('      Get result DatePublished ~rdate~ (CF~IMDB Release Date~):'+ItemValue+'||');      
      End;
      //Get ~IMDB_Votes~
      ItemValue:=TextBetWeenFirst(ItemList,'","ratingCount":',',"');   //Strings which opens/closes the data. WEB_SPECIFIC
      AddCustomFieldValueByName('IMDB_Votes',ItemValue);
       AddCustomFieldValueByName('IMDB Votes',ItemValue);
       AddCustomFieldValueByName('IMDB Votes:',ItemValue);      
      if ItemValue <> '' then LogMessage('      Get result ratingCount (~IMDB_Votes~): '+ItemValue+' ||');   
      //Get ~imdbrating~~IMDB Rating~~IMDBRating~
      //ItemValue:=TextBetWeenFirst(ItemList,'"ratingValue": "','"');   //Strings which opens/closes the data. WEB_SPECIFIC
      ItemValue:=TextBetWeenFirst(ItemList,'"worstRating":1,"ratingValue":','},"');   //Strings which opens/closes the data. WEB_SPECIFIC   
      //ItemValue:=FloatToStr((StrToFloat(ItemValue) * 1));
      AddFieldValueXML('imdbrating',ItemValue);
      AddCustomFieldValueByName('IMDB Rating',ItemValue);
      AddCustomFieldValueByName('IMDBRating',ItemValue);
      if ItemValue <> '' then LogMessage('      Get result ratingValue ~imdbrating~ (CF~IMDB Rating~~IMDBRating~): '+ItemValue+' ||');
    End;      
   
   //(*         
    //Go to "Tv Mode"    
   StartPos:=Pos('<h1 textlength="',HTML);
   if StartPos>0 then begin   
      ItemValue:=HTMLValue(HTML,StartPos,0,'<li role="presentation" class="ipc-inline-list__item">','releaseinfo?ref_=tt_ov_rdat');
      if ItemValue <> '' then LogMessage('      Get result Tv Mode1:'+ItemValue+'||');
      debug_pos1:=Pos('<a href="',ItemValue);
      if debug_pos1 >0 then ItemValue := Copy(ItemValue,0,debug_pos1-1);
      AddCustomFieldValueByName('Tv',ItemValue);      
      if ItemValue <> '' then LogMessage('      Get result Tv Mode (CF~Tv~):'+ItemValue);
      ItemValue1:=HTMLValues(HTML,'<h1 textlength="','</ul>','"ipc-inline-list__item">','</',', ',StartPos);   
      AddCustomFieldValueByName('Tv2',ItemValue1);   
      if ItemValue1 <> '' then LogMessage('      Get result Tv Mode01:'+#13+ItemValue1+'||'+#13);      
   end else
      LogMessage('tv-metadata not found');         
   //*)   

Added code for Tv Mode, whose information is transferred to the multiselect custom Tv field and to the long text Tv2 custom field.

Also added memo IMDB Plot Summary and Imdb Aka custom fields.

Added code for MiniSoundtracks, whose information is transferred to the memo MiniSoundtracks custom field from the main IMDb website.

The same is added for Technical Specs, whose information is transferred to the Imdb TechSpecs custom memo field from the main IMDb website.


Quote
       End;     
        if (Length(ItemList)>0) then begin
         AddCustomFieldValueByName('Imdb TechSpecs',ItemList);      
            if GET_FEATURES then AddFieldValueXML('features',ItemList);

            LogMessage('      Get result Movie Features:'+ItemList+'||');
        End;
    End;      
   //(*         
    //Go to "Soundtracks" ~crew~ctComposers   
   StartPos:=Pos('Soundtracks</a>',HTML);
   if StartPos>0 then begin   
      ItemValue:=HTMLValue(HTML,StartPos,0,'<div><span class="soundtrack-','</div>');
      if ItemValue <> '' then LogMessage('      Get result Soundtracks1:'+#13+ItemValue+'||'+#13);
      ItemValue:=StringReplace(ItemValue,'trackname">','',True,False,True);      
      ItemValue:=StringReplace(ItemValue,'</span>',#13,True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-1">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-2">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-3">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-4">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-5">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-6">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-7">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-8">','',True,False,True);
      ItemValue:=StringReplace(ItemValue,'<span class="soundtrack-comment-9">','',True,False,True);      
      ItemValue:=StringReplace(ItemValue,'<a class="ipc-md-link ipc-md-link--entity" href="','<link url="http://www.imdb.com',True,False,True);
      ItemValue:=StringReplace(ItemValue,'</a>','</link>',True,False,True);            
      AddCustomFieldValueByName('MiniSoundtracks',ItemValue);
      if ItemValue <> '' then LogMessage('      Get result Soundtracks (CF~MiniSoundtracks~):'+#13+ItemValue+#13);
   end else
      LogMessage('soundtrack not found');         
   //*)   

A multiselect Imdb Aspect Ratio custom field is also added.

Short text IMDB Release Date and IMDB Release Dates custom fields are also added, so you have the option to check the correct Release Date record in the normal rdate field.

IMDB_ [EN][HTTPS]_RC3  script is added.

277
Support / Re: IMDB [EN][HTTPS] v1.4.1.5 no longer working
« on: September 19, 2021, 08:16:22 am »
At the moment, I can only test certain scripts because I am waiting for the HDD that was in my Win 7 computer (this computer stopped working for me). Only after I get this disc (most likely I will get it this or next week), only then will I be able to get to the other scripts and data on it.

Then I will also update the other IMDb scripts as soon as possible and it will be possible to update them to the new IMDb layout.

278
Support / Re: IMDB_[EN][HTTPS] new site layout script
« on: September 19, 2021, 08:14:45 am »
At the moment, I can only test certain scripts because I am waiting for the HDD that was in my Win 7 computer (this computer stopped working for me). Only after I get this disc (most likely I will get it this or next week), only then will I be able to get to the other scripts and data on it.

Then I will also update the other IMDb scripts as soon as possible and it will be possible to update them to the new IMDb layout.

279
Support / Re: New changes on ImdB made PVD 1.0.2.7 Unusable
« on: September 19, 2021, 08:13:54 am »
Thanks again Ivek for your help. Here are compressed my PVD 1.0.2.7 PSF files.
I checked them again this morning, in order to add Season 3 to TV series https://www.imdb.com/title/tt5932548/?ref_=tt_ov_inf
(Britannia), but nothing is imported !

Will be waiting for your comments.

Regards, George

Thanks to PVD 1.0.2.7 PSF files, at least 75 percent of the scripts will be upgradeable to work with the new IMDb layout. The experiment you mentioned is currently not working, but an update will be available in a few days on the forum. For other scripts, the update will be available in a few weeks.

At the moment, I can only test certain scripts because I am waiting for the HDD that was in my Win 7 computer (this computer stopped working for me). Only after I get this disc (most likely I will get it this or next week), only then will I be able to get to the other scripts and data on it.

Then I will also update the other IMDb scripts as soon as possible and it will be possible to update them to the new IMDb layout.

280
Support / Re: Episodes TV Series Problem
« on: September 19, 2021, 08:12:06 am »
At the moment, I can only test certain scripts because I am waiting for the HDD that was in my Win 7 computer (this computer stopped working for me). Only after I get this disc (most likely I will get it this or next week), only then will I be able to get to the other scripts and data on it.

Then I will also update the other IMDb scripts as soon as possible and it will be possible to update them to the new IMDb layout.

Pages: 1 ... 9 10 11 12 13 [14] 15 16 17 18 19 ... 133