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

1 Member and 39 Guests are viewing this topic.

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #80 on: April 20, 2026, 04:42:30 am »
You mean to run this again from cmd (using my own path), right?

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" ""

I ran it, and it just sat there for a while, and then went back to a new command prompt with no other information.  But there are a lot of folders and files in the Tmp folder now.  I count 14 folders that start with "UserData", and they all have subfolders and files in them.  Then there are a bunch of files that start with "downpage" and one other file, which I've attached. Hopefully that's the one you're looking for, but if there are others that would help, I'll attach those too.

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #81 on: April 20, 2026, 11:45:51 am »
Ok, that looks good.
So the python scripts that download pages looks good. The next thing is to check the python script that downloads poster.
First replace the line 121 in the Selenium_Chrome_DownloadImage-v4.py script:

Quote
logging.debug("Non-FilmAffinity → using plain requests.")


with

Quote
logging.debug("Non-FilmAffinity - using plain requests.")


and save it, then run from cmd:

Quote
python "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\PersonalVideoDB\Scripts\Selenium_Chrome_DownloadImage-v4.py" "https://m.media-amazon.com/images/M/MV5BZTcwYTY5MjAtOGU0MS00MGM5LThiYTMtMDM0YWIzYTM5OTczXkEyXkFqcGc@._V1_.jpg" "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\PersonalVideoDB\Scripts\Tmp\poster.jpg"

Post any messages from cmd. If the cmd finishes clean without error messages and the poster is there in the /Tmp folder, then run IMDb Movie script for any movie from within PVD and post log.txt file. Don't forget to check to download posters and to run PVD in debug mode with debug.vbs so we could get log.txt.



Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #82 on: April 20, 2026, 11:59:58 am »
Also before trying to download image from cmd, and finally from within PVD, try from cmd:

Quote
python "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\Scripts\Selenium_Chrome_Base_page_v4.py" https://www.imdb.com/title/tt0858568/ "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\Scripts\Tmp\downpage-UTF8_NO_BOM.htm" ""


so we could be sure that the main page is properly downloaded too from cmd. Properly means, no messages in cmd, clean exit to prompt, and the files are there in /Tmp folder.

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #83 on: April 21, 2026, 02:23:37 am »
The line "logging.debug("Non-FilmAffinity → using plain requests." doesn't seem to be in my Selenium_Chrome_DownloadImage-v4.py script.  I've attached it so you can see if something's wrong.

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #84 on: April 21, 2026, 08:05:55 am »
Nevertheless, please try to get the main page, then the image from cmd and if no errors, then run the script from PVD and get us log.txt.

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #85 on: April 24, 2026, 03:35:58 am »
Okay, the main page from cmd worked fine, the poster from cmd worked fine, and I've attached the log file after trying the IMDB script again in PVD.

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #86 on: April 24, 2026, 10:57:15 pm »
To this point, it is probably something wrong with your Function ParsePage in IMDB_Movie_[EN][Selenium]-v4.psf because it never runs.

Which exact Script.7z do you use? Point with a link to a place on this forum you downloaded it and later extracted it. If it's not jondak's (for example) then which one?
« Last Edit: April 24, 2026, 11:33:18 pm by afrocuban »

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #87 on: April 24, 2026, 11:17:10 pm »
Also, show us the exact content of your /Scripts folder. Do you have needed .png files there?
« Last Edit: April 24, 2026, 11:33:36 pm by afrocuban »

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #88 on: April 25, 2026, 12:05:17 am »
Also, it would be good to upload your pvdcof.ini to check if something isn't messed there.

At the end, try jondak's scripts and let us know.

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #89 on: April 25, 2026, 03:06:17 pm »
I downloaded Script.7z from the 01/06/2026 post here: https://www.videodb.info/forum_en/index.php/topic,4379.40.html

Screenshots of the Scripts folder are attached as well as the pvdconf.ini file.

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #90 on: April 25, 2026, 03:36:14 pm »
Attached are the error messages I get when I tried the config and IMDB scripts from Jondak.

Online afrocuban

  • Moderator
  • *****
  • Posts: 688
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #91 on: April 25, 2026, 08:23:48 pm »
Your pvdconf.ini file looks pretty ok. There are remnants of old scripts but it doesn't make a difference.

1. Obviously, you are missing SeleniumPVDbScriptsConfig-v4.exe. Nevertheless, no point of using it, because Ivek already reported it doesn't work anymore, but put the last one there in order not to get the error. You have to use **pyPVDbScriptsConfig-v4** if you want to set up your scripts correctly.


2. It looks when using jondak's scripts it is getting better. They are basically the same ones as those from 2026-01-06, except one line in one python script added for IMDb Movie Additional pages, which means something was messed up with IMDB_Movie_[EN][Selenium]-v4.psf script on your side somehow, and now you don't have initial problem anymore, which you should have acknowledged in your post, at least for the sake of other users, because you are now having completely other, unrelated issue. So, resolving your initial and Miguel's issue is done.


3. From the other screenshot, it is clear that you have now that other, completely unrelated issue, and it is obvious that the downpage-UTF8_NO_BOM.htm was downloaded and the process went into downloading additional pages, which proves what I stated under 2.

Now, this is ordinary time out issue. When such an error happens what is going on in /Tmp folder? Is there downpage-UTF8_NO_BOM-ReleaseInfo.htm file there? Is there downpage-UTF8_NO_BOM-ReleaseInfo_status.txt file there?



So, when trying to resolve this unrelated issue, we need screenshots of /Tmp folder and all the .log and .txt files uploaded, as well as log.txt.
« Last Edit: April 25, 2026, 08:27:08 pm by afrocuban »

Offline RazorHall

  • User
  • ***
  • Posts: 85
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #92 on: April 26, 2026, 01:23:07 am »
now you don't have initial problem anymore, which you should have acknowledged in your post

I am not a programmer and had no idea whether or not that initial problem would still occur if we managed to clear up these new errors, so of course I didn't feel comfortable claiming that it was solved. Maybe it's obvious to you, but it's not to me. I don't understand this stuff at all.

Nothing happens when I try to run **pyPVDbScriptsConfig-v4** even though the files appear to be in the Scripts folder.

A screenshot of the Tmp folder after running jondak's IMDB script is attached. The downpage files you mentioned aren't there.

The log.txt file is attached also.  You mentioned other .log and .txt files, but I'm not sure what they're called or where to find them, so please let me know and I'll attach those too.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2913
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #93 on: April 26, 2026, 06:53:25 am »
1. Obviously, you are missing SeleniumPVDbScriptsConfig-v4.exe. Nevertheless, no point of using it, because Ivek already reported it doesn't work anymore, but put the last one there in order not to get the error.

I didn't write that SeleniumPVDbScriptsConfig-v4.exe no longer works, but the antivirus has moved it to quarantine as already mentioned.

One more thing I should mention is that my NOD32 antivirus program quarantines SeleniumPVDbScriptsConfig-v4.exe from the _Source_Code folder as well as from the Scripts folder due to Suspicious Object. So I have to bring them back from quarantine and specify that NOD32 skips them when scanning again. Once I do that, then the Suspicious Object cause is gone.

I mentioned this.

Important notice for all PVD users.

All IMDb scripts that use PVdBDownPage.exe to download information from the IMDb website are no longer working.

Any PVD user who still wants to download information from the IMDb website must have installed python and IMDb scripts that use selenium and selenium scripts that have the .py extension to download information from the IMDb website.

For now, this only applies to IMDb scripts and IMDb websites. This has been the case for a few weeks and is 100 percent true (I know from my own experience).

I don't know about the other scripts at the moment.
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: 2913
    • View Profile
Re: PVD Selenium MOD v4 IMDb Movie, People and FilmAffinity Scripts
« Reply #94 on: April 26, 2026, 07:45:07 am »
The log.txt file is attached also.  You mentioned other .log and .txt files, but I'm not sure what they're called or where to find them, so please let me know and I'll attach those too.

You can find them in the Scripts or Tmp folders.
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 #95 on: April 26, 2026, 12:03:53 pm »
I mentioned this.

Important notice for all PVD users.

All IMDb scripts that use PVdBDownPage.exe to download information from the IMDb website are no longer working.

Any PVD user who still wants to download information from the IMDb website must have installed python and IMDb scripts that use selenium and selenium scripts that have the .py extension to download information from the IMDb website.

For now, this only applies to IMDb scripts and IMDb websites. This has been the case for a few weeks and is 100 percent true (I know from my own experience).

I don't know about the other scripts at the moment.



Oh, my bad, sorry to all. I mixed up exe's because I don't use neither anymore! Apologize for confusion!