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

0 Members and 8 Guests are viewing this topic.

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #60 on: November 12, 2016, 07:03:53 pm »
Update:

V 1.3.1.0 (12/10/2016) VVV: Clean ~Director~ '(creator)', ~Writers~ '(artículo:)''(historia:)''(libros:)''(novela:)''(novelas:)''(obra:)' and ~Composers~ '(canción:)''(canciones:)''(tema:)''(aka)'

Attached the new version.

(Edito: New versions down)
« Last Edit: November 13, 2016, 07:27:47 pm by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #61 on: November 13, 2016, 07:29:14 pm »
Update:

CHANGE LOG :
            V 1.3.1.1 (12/10/2016) VVV: Added clean ~Writers~ of 'cómic:' and 'libro:'. Separated the '(' ')' elimination for get all cases.

Attached the new version.


(Edito: New versions down)
« Last Edit: June 11, 2017, 07:45:05 pm by VVV_Easy_Programing »

Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #62 on: May 24, 2017, 06:37:39 pm »
New error with this plugin.

This page is using HTTPS now.

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #63 on: May 24, 2017, 08:26:59 pm »
Well, I think this is a "Chronicle of a Death Foretold".
Fortunately, I'd tested the curl solution with Rottentomatoes_ [HTTPS] script.
I must search a time to adapt it, not too later because I use it.
Stay tuned.

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Script: FilmAffinity [ES][HTTPS] (curl needed)
« Reply #64 on: June 11, 2017, 07:56:00 pm »
FilmAffinity_[ES][HTTPS] is  here.

To adapt PVdB for downloading https pages you Needed external:
1) Download the curl-7.54.0-win32-mingw.7z file from https://bintray.com/artifact/download/vszakats/generic/curl-7.54.0-win32-mingw.7z  (Thanks Viktor Szakáts).
2)Extract the three curl libraries files and copy them to script folder:
• curl-7.54.0-win32-mingw\bin\curl.exe
• curl-7.54.0-win32-mingw\bin\curl-ca-bundle.crt
• curl-7.54.0-win32-mingw\bin\libcurl.dll

(You can see curl - PVD to https solution for more information)
« Last Edit: June 13, 2017, 08:32:01 am by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Script: FilmAffinity [ES][HTTPS] (curl needed)
« Reply #65 on: June 11, 2017, 08:00:14 pm »
Update:
CHANGE LOG :
V 2.0.0.0 (24/05/2017) VVV: HTTPS adaptation: Now GET PVdB function don't donwload the page.For do that it use curl free program https://curl.haxx.se.
               Change a  "filmaffinity.com/es/advsearch" instead of "filmaffinity.com/es/search" in order to avoid the auto redirection when only one movie are posible
               Fixed "Productor" or "Producer" present in some studio fields.
               User Options added: CHECK_WEBSITE = Set to True add to SearchResult List the true HTTPS links 'Just to check the website'.
                                              SEARCH_ENGINE = Set to True, if there isn't FilmAffinity search results, try with Bing search engine.

Attached the new version.

(Edito: New versions down)
« Last Edit: June 14, 2017, 09:18:21 pm by VVV_Easy_Programing »

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #66 on: June 12, 2017, 08:25:31 pm »
Thnks  :D (muchas gracias)

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #67 on: June 13, 2017, 11:27:01 pm »
There is a problem, if the title has unusual accents or symbols it hangs up the program.
Ej : Børning 2 (error)
Ej : Borning 2 (fine)
Ej : Cincuenta Sombras Más Oscuras (error)
Ej : Cincuenta Sombras Mas Oscuras (fine)

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #68 on: June 14, 2017, 09:21:28 pm »
Update:
CHANGE LOG :
            V 2.0.0.1 (14/06/2017) VVV: Fixed bug with UTF-8 conversion. Now the function "DownloadPage" with curl works faster.

Attached the new version.


Thank you for the alert, Am-rA  :)

(Edito: New versions down)
« Last Edit: October 08, 2017, 08:04:26 pm by VVV_Easy_Programing »

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #69 on: June 15, 2017, 05:09:49 pm »
You do not have to give them, thanks to you for continuing to maintain what is still undoubtedly the best program to catalog movies, thanks to these arrangements of yours, we still use a few.
 ;)

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES][HTTPS] (Now with NOT external files needed)
« Reply #70 on: October 08, 2017, 08:06:12 pm »
Update:
CHANGE LOG :
            V 3.0.0.0 (08/10/2017) VVV: Download with the Windows PowerShell (not external files needed and is faster).
                                                       But if you want use curl.exe change the setting USE_CURL = True

Attached the new version.

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

(Edito: New versions down)
« Last Edit: November 01, 2017, 10:10:28 am by VVV_Easy_Programing »

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #71 on: October 26, 2017, 04:20:24 pm »
Thanks  :D

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #72 on: October 26, 2017, 04:45:12 pm »
Update:
CHANGE LOG :
            V 2.0.0.1 (14/06/2017) VVV: Fixed bug with UTF-8 conversion. Now the function "DownloadPage" with curl works faster.

Attached the new version.


Thank you for the alert, Am-rA  :)

(Edito: New versions down)
we again have the same problem
Ex: El Hombre Del Corazón De Hierro
« Last Edit: October 26, 2017, 07:59:23 pm by Am-rA »

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #73 on: October 26, 2017, 09:28:21 pm »
I don't be able to reproduce the problema. I need some information:

1)¿You use the Powershell versión (v.3.0.0.0 not changed) or the curl versión (v.3.0.0.0 with the setting USE_CURL = True)
2) If first (Powershell):
           ¿what Windows lenguaje  and version you use?
           ¿can you try with curl versión (edit with noteblock "FilmAffinity_[ES][HTTPS].psf" and change the setting USE_CURL = True)
3) If second (curl):
           ¿can you try with PowerShell version? (edit with noteblock "FilmAffinity_[ES][HTTPS].psf" and change the setting USE_CURL = False)

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #74 on: October 28, 2017, 07:16:02 pm »
I don't be able to reproduce the problema. I need some information:

1)¿You use the Powershell versión (v.3.0.0.0 not changed) or the curl versión (v.3.0.0.0 with the setting USE_CURL = True)
2) If first (Powershell):
           ¿what Windows lenguaje  and version you use?
           ¿can you try with curl versión (edit with noteblock "FilmAffinity_[ES][HTTPS].psf" and change the setting USE_CURL = True)
3) If second (curl):
           ¿can you try with PowerShell version? (edit with noteblock "FilmAffinity_[ES][HTTPS].psf" and change the setting USE_CURL = False)
Test - El Hombre Del Corazón De Hierro
v.3.0.0.0 Windows 8.1
Powershell - don´t work
USE_CURL=True - Work Fine

other titles worked without problems, if I find another title that has that problem I will tell it

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #75 on: October 29, 2017, 08:01:02 am »
Thank you, I use win10 - ESP, perhaps this is the diference.

¿Can you post the "downpage-UTF8_NO_BOM.htm" file in the Powershell fail mode (you must zipped it by the fórum limitations, you can see my file attached)?

In fact, one time this title has need the bing search mode to find the FilmAffinity URL, but after chose it, it download without problem in Powershell mode.

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #76 on: October 29, 2017, 08:25:48 am »
Forget the last message.
I think that I can improve the search function.
If you need, for the moment, use the curl version.
Stay tuned.

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #77 on: October 30, 2017, 11:52:25 pm »
Ok, anything, you tell me
thanks
in case you also need
« Last Edit: October 30, 2017, 11:57:21 pm by Am-rA »

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #78 on: November 01, 2017, 10:13:58 am »
Update:
CHANGE LOG :
             V 3.0.0.1 (31/10/2017) VVV: Set "escaped" UTF-8 codification for the ANSI char of URL in the function "DownloadPage".

Attached the new version.

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

(Edito: New versions down)
« Last Edit: December 09, 2017, 07:28:16 pm by VVV_Easy_Programing »

Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #79 on: December 03, 2017, 03:11:36 pm »
It doesn't import the director.