Author Topic: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts  (Read 101038 times)

1 Member and 36 Guests are viewing this topic.

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #60 on: February 02, 2026, 02:02:08 pm »
Did you start 4 chrome instances manually prior to run the PVD?
start chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\PVD\1"
start chrome.exe --remote-debugging-port=9223 --user-data-dir="C:\PVD\2"
start chrome.exe --remote-debugging-port=9224 --user-data-dir="C:\PVD\3"
start chrome.exe --remote-debugging-port=9225 --user-data-dir="C:\PVD\4"

Offline Miguelh1020

  • User
  • ***
  • Posts: 49
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #61 on: February 03, 2026, 05:28:40 pm »
Hello, everybody!
Thanks for all the effort and the updates!!

Can I get a little assistance? I just can't make the Selenium scripts to work for me.
When I use any of them I get an "open" window, If I pick a .jpg file, it just loads it as a poster and stops. If I cancel the "open" window, the PVD gives an error message. Any idea what seems to be the problem?

Right now I'm downloading movie info with TheMovieDB[EN][API] script, which is pretty reliable

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #62 on: February 04, 2026, 02:56:52 pm »
Hello, everybody!
Thanks for all the effort and the updates!!

Can I get a little assistance? I just can't make the Selenium scripts to work for me.
When I use any of them I get an "open" window, If I pick a .jpg file, it just loads it as a poster and stops. If I cancel the "open" window, the PVD gives an error message. Any idea what seems to be the problem?

Right now I'm downloading movie info with TheMovieDB[EN][API] script, which is pretty reliable
This can happen when searching for a movie and you don't have .png files in /Scripts folder. For other cases, I have no idea without logs.

Offline jondak

  • User
  • ***
  • Posts: 41
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #63 on: February 08, 2026, 09:54:10 pm »
Did you start 4 chrome instances manually prior to run the PVD?
start chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\PVD\1"
start chrome.exe --remote-debugging-port=9223 --user-data-dir="C:\PVD\2"
start chrome.exe --remote-debugging-port=9224 --user-data-dir="C:\PVD\3"
start chrome.exe --remote-debugging-port=9225 --user-data-dir="C:\PVD\4"

This i didn't do. Will try again next week when time permits.

Thank you

Offline Miguelh1020

  • User
  • ***
  • Posts: 49
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #64 on: March 06, 2026, 02:36:01 am »

This can happen when searching for a movie and you don't have .png files in /Scripts folder. For other cases, I have no idea without logs.

I got this log. I hope it helps, I can't understand any of it

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #65 on: March 12, 2026, 08:35:39 am »
Please be specific which script doesn't work for you and post screenshots with a specific title when it happens as well as log.txt and other logs from Scripts/Tmp folder so we could try to reproduce and help you.

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #66 on: April 14, 2026, 06:22:23 pm »
I'm having the same problem as Miguelh1020. Attached is a screenshot of what happens when I try to use IMDB_Movie_[EN][Selenium]-v4.  Log.txt is blank, and there are no files in the Tmp folder.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2913
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #67 on: April 15, 2026, 08:43:09 am »
The problem is probably in the script. But it is more likely that the fault is in the outdated chromedriver.exe, which needs to be updated to the latest version every now and then. Then we will see if it works or if it is a problem in the script.

I know this problem with chromedriver.exe from my own experiences and it worked again after the latest update.

Notice:
It is different with geckodriver, which I use for my scripts and where updates are made much less often and therefore there are much fewer of these problems. There, only parts of the code in the scripts are corrected and then it works normally again.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #68 on: April 15, 2026, 04:24:36 pm »
I'm using Version 147.0.7727.56.  Is there a newer one I should be using instead?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2913
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #69 on: April 15, 2026, 07:09:07 pm »
I'm using Version 147.0.7727.56.  Is there a newer one I should be using instead?

ChromeDriver 147.0.7727.56 is latest version.

The problem is probably in the script.

Updates would be needed.

Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #70 on: April 16, 2026, 12:12:08 am »
About those updates, just to clarify... are you saying afrocuban would need to update the scripts, or is this some sort of update I can do?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2913
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #71 on: April 16, 2026, 06:46:01 am »
About those updates, just to clarify... are you saying afrocuban would need to update the scripts, or is this some sort of update I can do?

Ask afrocuban user via private message what he will answer you.

It's more difficult to fix something yourself, maybe something with the help of AI.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #72 on: April 16, 2026, 01:54:39 pm »
Empty /Tmp folder if it's already not. Run the script. Tell what hapens in /Tmp folder.

You also need to tell us which exact steps you took from the first post: https://www.videodb.info/forum_en/index.php/topic,4379.msg22821.html#msg22821

Which versions of Chrome and chromedriver you are using (current is v147.x)

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2913
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #73 on: April 16, 2026, 05:32:06 pm »
I'm using Version 147.0.7727.56.  Is there a newer one I should be using instead?

ChromeDriver 147.0.7727.56 is latest version.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #74 on: April 16, 2026, 09:42:05 pm »
Empty /Tmp folder if it's already not. Run the script. Tell what hapens in /Tmp folder.

You also need to tell us which exact steps you took from the first post: https://www.videodb.info/forum_en/index.php/topic,4379.msg22821.html#msg22821

Which versions of Chrome and chromedriver you are using (current is v147.x)

The Tmp folder was already empty, and after I run the script, it remains empty.

The steps I took...

A: installed python
B: installed selenium via cmd
C: have Chrome bin on PATH
D: have Python folder on PATH
E: pythonw.exe is not missing
F: put appropriate chromedriver.exe to the "Script" folder
G: rename current "Scripts" folder to "Scripts-Original", and put Scripts.7z in PVD folder and extract it there
H: (from your January 6th post on page 3 of the same thread) backup and empty Scripts folder and extract Scripts_2026-01-06.7z there. Extract the other file into PVD root folder

As Ivek reposted above, I'm using Version 147.0.7727.56 of both Chrome and Chromedriver.

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #75 on: April 18, 2026, 12:15:29 pm »
If after running your script /Tmp folder remains empty, it means you broke Selenium_Chrome_Base_page_v4.py script somehow, or you are running different versions of Chrome and chromedriver.


Run the script from cmd for example as (use your own paths):
Quote
python "C:\PersonalVideoDB\Scripts\Selenium_Chrome_Movie_Additional_pages_v4.py" https://www.imdb.com/title/tt0858568/ "C:\PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm" ""


and copy/paste cmd output here.

Tell us what cmd output is of the cmd command is:
Quote
python --version

It has to be >= 3.12.x

To check Chrome version from cmd run:

Quote
reg query "HKCU\Software\Google\Chrome\BLBeacon" /v version
« Last Edit: April 18, 2026, 12:28:00 pm by afrocuban »

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #76 on: April 18, 2026, 10:30:08 pm »
The result of running the script from cmd is:

Traceback (most recent call last):
  File "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\PersonalVideoDB\Scripts\Selenium_Chrome_Movie_Additional_pages_v4.py", line 19, in <module>
    import psutil  # NEW: for precise process cleanup
    ^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'psutil'


The output of the next command is Python 3.14.4

The result of checking Chrome version is 147.0.7727.56
« Last Edit: April 18, 2026, 10:37:34 pm by RazorHall »

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #77 on: April 19, 2026, 08:25:33 pm »
Ok, now everything clear, self explanatory. Just install psutil, in cmd, like:
Quote
pip install psutil

But now I'm wondering: if the script worked at some point, and then not, that doesn't seem plausible...

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #78 on: April 19, 2026, 09:17:38 pm »
Okay, I installed psutil and here's what happened:

I tried the IMDB Movie script again, and the same window popped up as if it wanted me to choose a file or image.
I hit 'cancel', but instead of getting the usual error message with options to continue application, restart application, etc., this time it appeared to finally be downloading information.
I waited for 20-30 seconds, it finished, and the script had downloaded an image for the selected movie and a few other bits of information like the genre, studio, IMDB rating, and a couple of other things.  However, no cast, tags, summary, etc.
I opened the configurator, and pretty much every box had a checkmark, so I made one change, which was to uncheck the "download posters" box.
I clicked 'apply', closed the configurator and tried the IMDB Movie script again.
The "open" window popped up as before, so I hit 'cancel'. This time, as it was doing before I installed psutil, the "an error occured in the application" box popped up with the options to continue, restart, or close.
I tried it a few more times on a few different movies, and I get that same error message each time.
« Last Edit: April 19, 2026, 09:19:53 pm by RazorHall »

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #79 on: April 19, 2026, 10:54:45 pm »
The only things that matters are the logs to post them here. Meaning, all the steps you took until we concluded about psutil. Run the scripts from the cmd...

 

anything