Author Topic: Script: FilmAffinity [ES] (Easy Script)  (Read 74531 times)

0 Members and 1 Guest are viewing this topic.

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #80 on: December 09, 2017, 07:27:40 pm »
Update:

CHANGE LOG :
            V 3.0.0.2 (09/12/2017) VVV: Adjust to new API ('<dt>Dirección</dt>' in the place of '<dt>Director</dt>'). Search routine improvements

IMPORTANT NOTE: Some Win 8.1 users has problems with the PowerShell version, so, if you have problems, you may open the "FilmAffinity_[ES][HTTPS].psf" with notepad and change the setting to USE_CURL = True in line 125.

(Edito: New versions down)
« Last Edit: February 04, 2018, 11:00:49 am by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #81 on: February 04, 2018, 10:59:53 am »
Update:

CHANGE LOG :
            V 3.0.0.3 (04/02/2018) VVV: Detects not or very slow internet conexion with INTERNET_TEST_ITERATIONS parameter.

Attached the new version.

IMPORTANT NOTE: Sometimes PVD crash in the first PowerShell run. Push "Continue Application" and try another time.
Some Win 8.1 users has problems with the PowerShell version, if you have the same problems then use CURL modality: you may open the "FilmAffinity_[ES][HTTPS].psf" with notepad and change the setting to USE_CURL = True in line 126 with the CURL files in the script folder.


(Edito: New versions down)


« Last Edit: May 05, 2018, 11:18:15 am by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #82 on: May 05, 2018, 11:17:20 am »
Update:

CHANGE LOG :
            V 4.0.0.0 (05/05/2018) VVV: New specific program for download PVdBDownPage.exe

Attached the new versión and in the following link:

(Edito: New versions down)


IMPORTANT NOTE: Changed the script distribution: All needed files in Script folder are zipped in the distributed file.
« Last Edit: May 06, 2018, 09:09:42 am by VVV_Easy_Programing »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #83 on: May 05, 2018, 12:13:18 pm »
Update:

CHANGE LOG :
            V 4.0.0.0 (05/05/2018) VVV: New specific program for download PVdBDownPage.exe

Attached the new versión and in the following link:

http://vvveasy.altervista.org/wp-content/uploads/2018/05/FilmAffinity_ESHTTPS_V_4_0_0_0.zip

IMPORTANT NOTE: Changed the script distribution: All needed files in Script folder are zipped in the distributed file.

Unfortunately, this does not work with me at all, I am reporting an error that I do not have an internet connection (several errors in the Internet connection) or a blocked IP address.
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

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #84 on: May 05, 2018, 06:12:39 pm »
¿Do you have PVD with Proxomiton active?
 If yes, try with Proxomiton not running.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #85 on: May 05, 2018, 06:54:44 pm »
¿Do you have PVD with Proxomiton active?
 If yes, try with Proxomiton not running.

This happens every time, when Proxomiton is active, as well as when Proxomiton is not active. This happens with the PVD 0.9.9.21 version as well 1.0.2.7 version.
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

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #86 on: May 06, 2018, 09:11:33 am »
Update:

CHANGE LOG :
            V 4.0.0.1 (06/05/2018) VVV: Bugs correction and new version of PVdBDownPage with logging function

Attached the new versión and in the following link too:

http://vvveasy.altervista.org/wp-content/uploads/2018/05/FilmAffinity_ESHTTPS_V_4_0_0_1.zip


IMPORTANT NOTES.
Works in Win10 and perhaps in Win8. Fails in Win7.
Changed the script distribution: All needed files for PersonalVideoDB in the Scripts folder are zipped in the distributed file.
« Last Edit: May 06, 2018, 08:21:18 pm by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #87 on: May 06, 2018, 09:21:59 am »
¿Do you have PVD with Proxomiton active?
 If yes, try with Proxomiton not running.

This happens every time, when Proxomiton is active, as well as when Proxomiton is not active. This happens with the PVD 0.9.9.21 version as well 1.0.2.7 version.

Hello, Ivek. This version don't conrrect your problem but allows me to analyze.

Please, ¿may you do the following steps?
1) Install the new script version (all files)
2) Run (doble mouse click) "PVdBDownPage.exe" ¿it shows the help message box or you have problems with Windows security?
2) If it works, create a empty text file "PVdBDownPage.log" in the Scripts folder (the same that PVdBDownPage.exe)
3) Make several test (the log file saves the url's). You can edit with notepad.
4) Post me it in the forum in order to anlyze.

Thank you very much for your help.
If others users have problems  ??? or works ok  :), please tell us  ;D
« Last Edit: May 06, 2018, 12:04:23 pm by VVV_Easy_Programing »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #88 on: May 06, 2018, 12:38:39 pm »
downpage-UTF8_NO_BOM.htm file is empty until I make a cancellation. After the search result is displayed, the file is not empty. Then the file disappears and again appears empty or in some cases it does not show up anymore.

PVdBDownPage.log 7z file and sshot-1a 7z file added.
« Last Edit: May 06, 2018, 07:18:01 pm 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: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #89 on: May 06, 2018, 12:39:21 pm »
sshot-1b 7z file added.
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: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #90 on: May 06, 2018, 12:39:57 pm »
sshot-1c 7z file added.
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

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #91 on: May 06, 2018, 08:20:06 pm »
Thank you very much, Ivek.

Bad news, I think that the problem is with the OS Win 7 and the new protocol TLS 1.2. (I use Win10)
(See https://stackoverflow.com/questions/44045305/vba-an-error-occurred-in-the-secure-channel-support)

If you can run directly in the script folder with the cmd windows:

PVdBDownPage.exe "https://www.filmaffinity.com/es/film554692.html" "tes1_downpage.htm"

and

PVdBDownPage.exe "https://www.themoviedb.org/movie/213/" "test2_downpage.htm"

If the first fails (not download) and the second works (file test2_downpage.htm full) the problem is confirmed.

The program solution is not easy, ¿the curl.exe ancient solution works in your Win7?

« Last Edit: May 06, 2018, 08:21:52 pm by VVV_Easy_Programing »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #92 on: May 06, 2018, 09:23:45 pm »
If you can run directly in the script folder with the cmd windows:

PVdBDownPage.exe "https://www.filmaffinity.com/es/film554692.html" "tes1_downpage.htm

No (file test1_downpage.htm not download).


If you can run directly in the script folder with the cmd windows:

PVdBDownPage.exe "https://www.themoviedb.org/movie/213/" "test2_downpage.htm"

Yes (file test2_downpage.htm full download).
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

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #93 on: May 06, 2018, 09:58:44 pm »
In the following url I save the file "PVdBDownPage_for_Win7" with a patch for the problem.

http://vvveasy.altervista.org/wp-content/uploads/2018/05/PVdBDownPage_for_Win7.zip

The script no change but the auxiliar PVdBDownPage.exe use curl.exe for download in the place of his own funtion.
Save the four files in the Scripts folders and try (in my Win7 the patch works).
« Last Edit: May 06, 2018, 10:09:57 pm by VVV_Easy_Programing »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #94 on: May 07, 2018, 07:11:09 am »
In the following url I save the file "PVdBDownPage_for_Win7" with a patch for the problem.

http://vvveasy.altervista.org/wp-content/uploads/2018/05/PVdBDownPage_for_Win7.zip

The script no change but the auxiliar PVdBDownPage.exe use curl.exe for download in the place of his own funtion.
Save the four files in the Scripts folders and try (in my Win7 the patch works).

Thank you for your efforts. This version also does not work on my Windows 7 Ultimate OS. Obviously, that the new TLS 1.2 protocol does not work on my outdated Win 7 OS. Your script V 3.0.0.0 and other V 3.0 did not work with me. Also, new script versions will not work in the future, because I have not been thinking of switching to Windows 10 OS for a long time (so far for my work, which I do on the computer is more than excellent OS - Win 7).
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

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #95 on: May 07, 2018, 01:11:18 pm »
If you have patched the script with the four files of the "PVdBDownPage_for_Win7.zip" file (save in Script folder, overwriting the original PVdBDownPage.exe and adding the curl files).
¿Can you make some test and sending me the "PVdBDownPage.log"? The screen shots aren't necessary.

I'm very interested in the solution of this problem because I'm working [HTTPS] in a PVD MOD version with three scripts :

1) Basic IMDB [HTTPS] (but easily up-size-able)
2) Filmaffinity [ES][HTTPS] (and perhaps [EN] too)
3) TheMovieDB_[ES][API] (and surely [EN] [FR] too)

I think that with this three script is possible make others for all webs.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #96 on: May 07, 2018, 07:25:07 pm »
If you have patched the script with the four files of the "PVdBDownPage_for_Win7.zip" file (save in Script folder, overwriting the original PVdBDownPage.exe and adding the curl files).
¿Can you make some test and sending me the "PVdBDownPage.log"? The screen shots aren't necessary.

PVdBDownPage1.log 7z file added.
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

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #97 on: May 07, 2018, 07:40:24 pm »
At least, I don't see any exception TSL1.2 ;) ¿has you remember use PVDB without Proxomiton?

After apply script to a movie:
¿the "downpage-UTF8_NO_BOM.htm" file is empty?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #98 on: May 08, 2018, 06:44:56 pm »
At least, I don't see any exception TSL1.2 ;) ¿has you remember use PVDB without Proxomiton?

After apply script to a movie:
¿the "downpage-UTF8_NO_BOM.htm" file is empty?

Proxomiton was not started when I tested the FilmAffinity_[ES][HTTPS] script.

Yes, "downpage-UTF8_NO_BOM.htm" file is empty. More precisely, "downpage-UTF8_NO_BOM.htm" file in the PVD 0.9.9.21 version as well as in 1.0.2.7 version it was no longer possible to see. If I added it before starting the script, it immediately disappeared and did not show up immediately when the script was started.

PVdBDownPage.log txt file from 1.0.2.7 versio I added here.
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

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #99 on: May 08, 2018, 08:23:33 pm »
Thank you very much Ivek. ;D
I'm working in a PVD MOD versión with the patch included more easy to try.
Stay tunned.