Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Ivek23 on May 04, 2025, 12:04:39 pm »
No, it's not necessary, my default browser is Mozilla Firefox.

Yes, I received your !PersonalVideoDB program by email.

By the way, I tested your !PersonalVideoDB program a little, it works for certain movies, but it doesn't work for the movie Al Final Del Túnel. We'll see what's wrong here, because on my test PVD with chromedriver it works and transfers the information to the database.

After I do some more tests, I'll send you back a tested version of your !PersonalVideoDB program.
12
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Pacifist on May 04, 2025, 08:25:08 am »
ok. Python is installed. Chrome (latest version) is present. All Selenium scripts are present. I don't need to register anything additionally myself. Then why is there always the same message and a complete lack of information? Why aren't there even temporary swap files in the \Scripts\Tmp\ folder. Although they are present when using NON-Selenium scripts. I even tried to turn on VPN due to the peculiarities of the Internet in the country. Zero...  ??? ??? ??? ???
Can I send you an archive of my PVD (without a database)? 40 Mb...

Yes, you can send it to this email address below.

ivan.rupnik@amis.net
Sent. By the way, should chrome be the default browser on a computer? I have a different main browser.
13
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Ivek23 on May 03, 2025, 07:09:28 pm »
ok. Python is installed. Chrome (latest version) is present. All Selenium scripts are present. I don't need to register anything additionally myself. Then why is there always the same message and a complete lack of information? Why aren't there even temporary swap files in the \Scripts\Tmp\ folder. Although they are present when using NON-Selenium scripts. I even tried to turn on VPN due to the peculiarities of the Internet in the country. Zero...  ??? ??? ??? ???
Can I send you an archive of my PVD (without a database)? 40 Mb...

Yes, you can send it to this email address below.

ivan.rupnik@amis.net
14
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Pacifist on May 03, 2025, 04:52:27 pm »
ok. Python is installed. Chrome (latest version) is present. All Selenium scripts are present. I don't need to register anything additionally myself. Then why is there always the same message and a complete lack of information? Why aren't there even temporary swap files in the \Scripts\Tmp\ folder. Although they are present when using NON-Selenium scripts. I even tried to turn on VPN due to the peculiarities of the Internet in the country. Zero...  ??? ??? ??? ???
Can I send you an archive of my PVD (without a database)? 40 Mb...
15
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Pacifist on May 03, 2025, 04:45:17 pm »
ok. Python is installed. Chrome (latest version) is present. All Selenium scripts are present. I don't need to register anything additionally myself. Then why is there always the same message and a complete lack of information? Why aren't there even temporary swap files in the \Scripts\Tmp\ folder. Although they are present when using NON-Selenium scripts. I even tried to turn on VPN due to the peculiarities of the Internet in the country. Zero...  ??? ??? ??? ???
16
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Ivek23 on May 03, 2025, 03:36:17 pm »
Sorry, but this is a dark forest for me. Install Chrome and Python - yes, I can. Copy scripts - I can too. But I can't edit the paths in the scripts myself. I can't even figure out what to do with selenium_script-Chrome.py. Just copy it to the \pvd\Scripts\ folder? Maybe it's possible to put EVERYTHING you need into one package, so that it's already in the archive in the right folders?

Since I have already described and added the complete Scripts - What scripts do you need package you need, you do not need this selenium_script-Chrome.py script now. 
I can see from the log file that there is no internet connection, which is why it is not transferring any information to you.

Below is the Scripts - What scripts do you need file, which has all the necessary folders and files that you must have in the Scripts folder of the PVD program, except for the chromedriver.exe file, which can be found at the links below in the quote section.

Quote
Chromedriver:
1. chromedriver   win32   https://storage.googleapis.com/chrome-for-testing-public/134.0.6998.88/win32/chromedriver-win32.zip
2. chromedriver   win64   https://storage.googleapis.com/chrome-for-testing-public/134.0.6998.88/win64/chromedriver-win64.zip

Unzip the Scripts - What scripts do you need file and then check if you also have all the files in your folder at D:\Game\pvd\Scripts\ plus the chromedriver.exe file. If you are missing something, first make a copy of the original Scripts folder, then add the missing files to the original Scripts folder or copy the entire Scripts folder from the Scripts - What scripts do you need file. Then you will see if it works for you, because for me it normally transfers all the information to the PVD database.
  Only chromedriver.exe (size around 18 mb) is missing in the complete package, because otherwise it is not possible to edit the complete package. Scripts - What scripts do you need file plus the chromedriver.exe file copy to e:\Film\!PersonalVideoDB\ path


Besides, I can't figure it out. Do I need to do any other manipulations with these scripts after or before running PVD? Or, if everything is already installed and all the paths are specified, then the information is downloaded as usual? I ran PVD, selected a movie, ran the import script...

No, you don't need any other manipulation because everything is sorted. In your case, there was nothing because you didn't have the right scripts. Once everything is installed and all paths are defined, the data will be transferred as usual, but with a slightly longer data transfer time.



if possible, describe this line point by point
FileExecute ('pythonw.exe', '"' + ScriptPath + 'selenium_script-Chrome.py" "' + URL + '" "' + ScriptPath + BASE_DOWNLOAD_FILE_NO_BOM + '"');

Za vsak v4.py script je že določena pot
652 / 5.000
For each _v4.py script, there is already a path to IMDB_Movies_[EN][Selenium]-v4.psf for each Selenium_Chrome script. This should not be changed, otherwise the scripts will not work. Everything listed in this line will start working when you run the IMDB_Movies_[EN][Selenium]-v4.psf script and pythonw.exe will start and then all IMDb websites listed in the IMDB_Movies_[EN][Selenium]-v4.psf script will start downloading (BASE_DOWNLOAD_FILE_NO_BOM and similar files). After all these files are downloaded to your e:\Film\!PersonalVideoDB\Scripts\Tmp\ path, the downloaded information for a specific movie will be added to your PVD database.


1, Here is my path to "python" c:\Users\хххх\AppData\Local\Programs\Python\Python313\pythonw.exe"

pythonw.exe will automatically start when the IMDB_Movies_[EN][Selenium]-v4.psf script is run.

2, My path to "chromedriver.exe" and to "selenium_script-Chrome.py"
e:\Film\!PersonalVideoDB\Scripts\
What will the fully specified path look like in my case, in which file should it be specified and on which line of this file?

Also nowhere, because the e:\Film\!PersonalVideoDB\Scripts\ path will be automatically detected when the IMDB_Movies_[EN][Selenium]-v4.psf script is there and will run. But you must have the Scripts folder copied from the Scripts - What scripts do you need file with all the files in it plus the chromedriver.exe file there.
17
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Pacifist on May 03, 2025, 07:32:45 am »
What version (source) of Python do you recommend? So that there is nothing extra.

One of the ones listed below, it is best to use Python 3.12.10.

Python 3.13.3, 3.12.10, 3.11.12

I am using Python 3.13.3 and it works great.

Also read this Python (+Selenium) Chrome general script topic for help.
Sorry, but this is a dark forest for me. Install Chrome and Python - yes, I can. Copy scripts - I can too. But I can't edit the paths in the scripts myself. I can't even figure out what to do with selenium_script-Chrome.py. Just copy it to the \pvd\Scripts\ folder? Maybe it's possible to put EVERYTHING you need into one package, so that it's already in the archive in the right folders?

Besides, I can't figure it out. Do I need to do any other manipulations with these scripts after or before running PVD? Or, if everything is already installed and all the paths are specified, then the information is downloaded as usual? I ran PVD, selected a movie, ran the import script...

if possible, describe this line point by point
FileExecute ('pythonw.exe', '"' + ScriptPath + 'selenium_script-Chrome.py" "' + URL + '" "' + ScriptPath + BASE_DOWNLOAD_FILE_NO_BOM + '"');

1, Here is my path to "python" c:\Users\хххх\AppData\Local\Programs\Python\Python313\pythonw.exe"
2, My path to "chromedriver.exe" and to "selenium_script-Chrome.py"
e:\Film\!PersonalVideoDB\Scripts\
What will the fully specified path look like in my case, in which file should it be specified and on which line of this file?

HELP! HELP! HELP!!!  :'(
18
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Ivek23 on May 03, 2025, 06:56:17 am »
What version (source) of Python do you recommend? So that there is nothing extra.

One of the ones listed below, it is best to use Python 3.12.10.

Python 3.13.3, 3.12.10, 3.11.12

I am using Python 3.13.3 and it works great.

Also read this Python (+Selenium) Chrome general script topic for help.
19
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Pacifist on May 02, 2025, 04:46:13 pm »
should the file "chromedriver.exe" also be in the folder "\pvd\Scripts\"?

Yes, it must be, otherwise it won't work.

You have Google Chrome and Python installed on your computer. If you don't have it, install it, otherwise you have a problem somewhere else on your computer that is not allowing you to download information from the IMDb site. Maybe there are some settings or something else that is blocking you from downloading information from the IMDb site.

Do you see any python script txt log files in the Scripts\Tmp folder.

What version (source) of Python do you recommend? So that there is nothing extra.
20
PVD Python Scripts / Re: PVD Selenium MOD v4 IMDb Movie Script Confusion
« Last post by Ivek23 on May 02, 2025, 01:08:56 pm »
should the file "chromedriver.exe" also be in the folder "\pvd\Scripts\"?

Yes, it must be, otherwise it won't work.

You have Google Chrome and Python installed on your computer. If you don't have it, install it, otherwise you have a problem somewhere else on your computer that is not allowing you to download information from the IMDb site. Maybe there are some settings or something else that is blocking you from downloading information from the IMDb site.

Do you see any python script txt log files in the Scripts\Tmp folder.

Pages: 1 [2] 3 4 5 6 7 ... 10