English > Support

Episodes TV Series Problem

<< < (9/12) > >>

Ivek23:

--- Quote from: Miguelh1020 on September 27, 2021, 03:43:28 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?
--- End quote ---

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.

afrocuban:
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
--- End quote ---

Ivek23:

--- Quote from: afrocuban on October 06, 2021, 07:02:43 pm ---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
--- End quote ---

--- End quote ---

Thanks, afrocuban for this warning.


--- Quote from: Miguelh1020 on September 27, 2021, 03:43:28 am --- 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?
--- End quote ---

--- Quote from: Miguelh1020 on September 29, 2021, 12:34:56 am ---This happpens with all series when I try to run IMDB Movie(episodelist) (a) script and IMDB Movie(episodelist) script.
--- End quote ---

--- Quote from: Miguelh1020 on September 30, 2021, 09:34:39 pm ---I can run IMDB_[EN][HTTPS]-a script, but the Imdb Movie Info-2a script gives the same error message.
--- End quote ---

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
.
.
.
--- End quote ---
, 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;
--- End quote ---

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

Ivek23:
Notification:

IMDB Movie(episode list) (a) script and IMDB Movie(episode list) script using Proxomitron no longer work.

Pacifist:

--- Quote from: Ivek23 on September 26, 2022, 08:32:36 am ---Notification:

IMDB Movie(episode list) (a) script and IMDB Movie(episode list) script using Proxomitron no longer work.

--- End quote ---
nightmare.  :'( :'( :'(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version