1
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Ivek23 on May 08, 2025, 08:31:52 am »Quote
(06.05.2025 20:30:28) Function GetDownloadURL - IMDB URL.Even searching for the movie title is not correct, as you can see below.
(06.05.2025 20:30:28) Function GetDownloadURL - Mode=smSearch: Parse stored information DownloadURL: https://www.imdb.com/title/tt1543920/ | |
(06.05.2025 20:30:28) Function GetDownloadURL END====================== with Mode=1 (smNormal) with Result=D:\!PersonalVideoDB\Scripts\BE_PATIENT_PLEASE-DOWNLOADING_DATA |
(06.05.2025 20:30:28) Searching movie information for: Return, The
(06.05.2025 20:30:28) Function ParsePage: Starting processing.
(06.05.2025 20:30:28) Function ParsePage - HTML length: 34
(06.05.2025 20:30:28) Function ParsePage BEGIN====================== |
(06.05.2025 20:30:28) Function ParsePage - Global Var: Mode|1 |
(06.05.2025 20:30:28) Function ParsePage - Global Var: DownloadURL| https://www.imdb.com/title/tt1543920/ |
(
Quote
(8.05.2025 08:35:14) Function GetDownloadURL - IMDB URL.
(8.05.2025 08:35:14) Function GetDownloadURL - Mode=smSearch: Parse stored information DownloadURL: https://www.imdb.com/title/tt1543920/ | |
(8.05.2025 08:35:14) Function GetDownloadURL END====================== with Mode=1 (smNormal) with Result=D:\MyTest-PVD\Pacifist\!PersonalVideoDB\Scripts\BE_PATIENT_PLEASE-DOWNLOADING_DATA |
(8.05.2025 08:35:14) Searching movie information for: Turtles Forever
(8.05.2025 08:35:14) Function ParsePage: Starting processing.
(8.05.2025 08:35:14) Function ParsePage - HTML length: 34
(8.05.2025 08:35:14) Function ParsePage BEGIN====================== |
(8.05.2025 08:35:14) Function ParsePage - Global Var: Mode|1 |
(8.05.2025 08:35:14) Function ParsePage - Global Var: DownloadURL| https://www.imdb.com/title/tt1543920/ |
(8.05.2025 08:35:14) Function ParsePage - Local Var: URL| |
Quote
(06.05.2025 20:30:28) Function GetPvdConfigOptions - completed.
(06.05.2025 20:30:28) Function DownloadPage - Download attempt with Selenium in file:| D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm the information of the Main page: |https://www.imdb.com/title/tt1543920/ | |
(06.05.2025 20:30:28) Function DownloadPage - Download started with Selenium in file:| D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm the information of the Main Page: |https://www.imdb.com/title/tt1543920/ | |
(06.05.2025 20:30:28) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:30:38) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:30:48) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:30:58) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:31:08) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:31:18) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:31:45) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:31:55) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:32:05) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:32:15) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:32:25) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:32:35) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:32:47) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:32:57) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:33:07) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:33:17) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:33:27) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:33:37) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:33:52) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:34:02) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:34:12) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:34:22) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:34:32) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:34:42) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(06.05.2025 20:34:53) Function DownloadPage ENDED for MainPage with NO INTERNET connection =============== |
Here, it reports an error that you don't have an internet connection. This means that the Selenium_Chrome_Base_page_v4.py script does not allow you to continue downloading the downpage-UTF8_NO_BOM.htm file. Apparently, the problem is possible in Win7 or you have blocked access to download information from the Imdb page or in the Selenium_Chrome_Base_page_v4.py script itself, where something is written in the Selenium_Chrome_Base_page_v4.py script code that blocks you from continuing the download process of the entire source code of the IMDb base page.
For me, it continues normally, as you can see below.
Quote
(8.05.2025 08:35:15) Function GetPvdConfigOptions - completed.
(8.05.2025 08:35:15) Function DownloadPage - Download attempt with Selenium in file:| D:\MyTest-PVD\Pacifist\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm the information of the Main page: |https://www.imdb.com/title/tt1543920/ | |
(8.05.2025 08:35:15) Function DownloadPage - Download started with Selenium in file:| D:\MyTest-PVD\Pacifist\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm the information of the Main Page: |https://www.imdb.com/title/tt1543920/ | |
(8.05.2025 08:35:15) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\MyTest-PVD\Pacifist\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(8.05.2025 08:35:25) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\MyTest-PVD\Pacifist\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(8.05.2025 08:35:35) Function DownloadPage - Waiting 10s for the presence of the Main page: D:\MyTest-PVD\Pacifist\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(8.05.2025 08:35:45) Function DownloadPage - Complete Main page file that is now present: D:\MyTest-PVD\Pacifist\!PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm
(8.05.2025 08:35:45) Function DownloadPage - Value of MainPageDownloaded: True
(8.05.2025 08:35:45) Function DownloadPage - if it's Series there will be MediaType: || or...
(8.05.2025 08:35:45) Function DownloadPage - if it's Series there will be category: Movie||
(8.05.2025 08:35:45) Function DownloadPage - Skipping download for FullCredits page as per configuration.
(8.05.2025 08:35:45) Function DownloadPage - EXCLUDED_FILES: downpage-UTF8_NO_BOM-FullCredits.htm| |
(
To potentially fix the problem, I would advise you to use, for example, ChatGPT, which uses AI. Perhaps you will be able to solve your problems with PVD with its help.