Author Topic: Allmovie.com https  (Read 4117 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #20 on: December 28, 2019, 09:26:50 am »
AllMovie.com_new_HTTPS script
version 1.1.2.9


Okay, here's what the log file said about the Allmovie script:

(12/27/2019 5:40:41 PM) Compiling script: AllMovie.com HTTPS.psf
(12/27/2019 5:40:41 PM) Could not compile script: AllMovie.com HTTPS.psf
[Error] (402:75): Unknown identifier 'AllMovie'

Thanks for the reported error. My mistake, I overlooked it. I fixed it and AllMovie.com HTTPS.psf is working fine.

New version of AllMovie.com_new_HTTPS script  is attached.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 62
    • View Profile
Re: Allmovie.com https
« Reply #21 on: December 28, 2019, 06:25:43 pm »
Allmovie now appears as an import option, but I get the following error when I run it:

Socket Error #11001
Host not found.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #22 on: December 28, 2019, 07:01:01 pm »
Allmovie now appears as an import option, but I get the following error when I run it:

Socket Error #11001
Host not found.

I need a log file and a movie title or a more detailed description of when and how this error occurs. Repeat the procedure as described in this link below. Then I'll see and know what's going on.

http://www.videodb.info/forum_en/index.php/topic,4109.msg21008.html#msg21008
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 62
    • View Profile
Re: Allmovie.com https
« Reply #23 on: December 28, 2019, 07:43:31 pm »
I've attached the log file.  I receive that error every time I run the Allmovie script.  I tried it on a few different titles and got the same result each time.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #24 on: December 28, 2019, 09:39:10 pm »
I've attached the log file.  I receive that error every time I run the Allmovie script.  I tried it on a few different titles and got the same result each time.

I can't figure out what's wrong because the script works fine for me. Try AllMovie.com_new_HTTPS script version 1.1.2.7, which you can find at this link below, to see if this version also reports the same error.

http://www.videodb.info/forum_en/index.php/topic,4109.msg20986.html#msg20986
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 62
    • View Profile
Re: Allmovie.com https
« Reply #25 on: December 28, 2019, 10:09:37 pm »
No change when using the other version of the file.   :(

I don't know if this helps at all, but if I try running the script with only a title, and no link in the URL field, I get this error:

IOHandler value is not valid.
« Last Edit: December 28, 2019, 10:19:35 pm by RazorHall »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #26 on: December 29, 2019, 08:31:21 am »
No change when using the other version of the file.   :(

I don't know if this helps at all, but if I try running the script with only a title, and no link in the URL field, I get this error:

IOHandler value is not valid.

This error occurs. because AllMovie uses an https link and PVD does not recognize the https link, only recognizes the http link. It is necessary to activate the Proxy server in the PVD settings under Internet Connections, where the following information is entered in the appendix below.
Quote
It will also act PVD, you must also PVD settings \ Internet connection, find the "Proxy" and confirm. In the "Server" field enter "localhost" Port settings to 80 . Only with this configuration will function properly PVD. PVD is used only proxy port 80.

For this to work, you also need a Proxomitron program. If you are not already using it, then you will find more at this link in the appendix below.
Tests Proxomitron. I think this would be an ideal solution for your problems. I also attach a default.cfg file that already has an added solution for the Allmovie.com https connection. How and what is described in topic:
Proxomitron - next https solution for PVD.

The Proxomitron program I use on my own can be found more at this link below.
http://www.videodb.info/forum_en/index.php/topic,4125.msg20409.html#msg20409

I also attach the latest default.cfg file that already has an added solution for the Allmovie.com https connection.


default.cfg is attached.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #27 on: December 29, 2019, 08:43:15 am »
The Proxomitron program I use on my own can be found more at this link below.
http://www.videodb.info/forum_en/index.php/topic,4125.msg20409.html#msg20409.

Notice:
All 4 parts of the Proxomitron1 (and rar format) file need to be downloaded if you want to have all the files and Proxomitron will work properly.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #28 on: December 29, 2019, 04:29:39 pm »
AllMovie.com_new_HTTPS script
version 1.1.3.0

Some beauty fixes and improvements to the scripts code.

New version of AllMovie.com_new_HTTPS script  is attached.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 62
    • View Profile
Re: Allmovie.com https
« Reply #29 on: December 29, 2019, 06:44:37 pm »
Changing the proxy settings and using Proxomitron has allowed the Allmovie script to work in most cases.  Thanks, Ivek!

I've only gotten one error so far, on one title, and that's Zombie Dearest (https://www.allmovie.com/movie/zombie-dearest-v570551).  The error is:

HTTP/1.1 400 Host Not Found

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #30 on: December 29, 2019, 08:14:41 pm »
Changing the proxy settings and using Proxomitron has allowed the Allmovie script to work in most cases.  Thanks, Ivek!

Welcome. I'm glad the script is working and we have resolved the problem with the proxy settings.

I've only gotten one error so far, on one title, and that's Zombie Dearest (https://www.allmovie.com/movie/zombie-dearest-v570551).  The error is:

HTTP/1.1 400 Host Not Found

Thanks for the error. The culprit is the poster download code, which I also assumed was because I myself had a reported error when I tested the script. The error will probably be fixed tomorrow.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 62
    • View Profile
Re: Allmovie.com https
« Reply #31 on: December 29, 2019, 11:41:48 pm »
Thanks for the error. The culprit is the poster download code, which I also assumed was because I myself had a reported error when I tested the script. The error will probably be fixed tomorrow.

That's awesome.  Thank you again for all your assistance and hard work! 

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2263
    • View Profile
Re: Allmovie.com https
« Reply #32 on: December 30, 2019, 06:31:49 pm »
AllMovie.com_new_HTTPS script
version 1.1.3.1

Poster error corrected. It was repaired some more mistakes. However, a link to the Wayback Machine Archive has been added, where you can find an archived version of the AllMovie movie page if it has been archived.


Quote
AllMovie data:         PVD field:      FN:      Type/Comments:
--------------         ---------      --      -------------
.
.
.
AMG "movie_id" ID      ~AMG Wayback Machine Archive~    memo (link to Search on Wayback Archive)

.
.
.
// ~AMG "movie_id" ID~
 endPos:=curPos;
 endPos:=PosFrom('var gptAdSlots = [];',HTML,curPos);
 curPos:=PosFrom('googletag.pubads().setTargeting('+#39+'movie_id'+#39+', '+#39+'v',HTML,endPos)+Length('googletag.pubads().setTargeting('+#39+'movie_id'+#39+', '+#39+'v');
   endPos:=PosFrom(#39+');',HTML,curPos);
   TmpStr2:=Copy(HTML,curPos,endPos-curPos);
    //TmpStr2:=RemoveTags(Trim(Copy(HTML,curPos,endPos-curPos)),false);
 AddCustomFieldValueByName('AMG Wayback Machine Archive','<link url="http://web.archive.org/web/*/http://www.allmovie.com/work/'+TmpStr2+'">AllMovie Wayback Machine Archive</link>');
 if TmpStr2 <> '' then LogMessage('      Parse Results AMG ID1:'+TmpStr2);

New version of AllMovie.com_new_HTTPS script  is attached.
« Last Edit: December 30, 2019, 06:39:17 pm by Ivek23 »
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Older Power User
  • *****
  • Posts: 241
    • View Profile
Re: Allmovie.com https
« Reply #33 on: January 09, 2020, 12:35:13 am »
Thank you and Happy New Year, dear Ivek!

 

anything