News:

SMF - Just Installed!

Main Menu

curl - PVD to https solution

Started by Ivek23, 9 02 February, 2021, 09:27:42 AM

Previous topic - Next topic

Ivek23

curl - PVD to https solution

You don't need to program out of PVdB. curl.exe is a program that download a web page (even https) to a file in the command line.

Download:
https://curl.haxx.se/download.html
https://curl.haxx.se/download.html#Win32

Download the original ones:
https://bintray.com/artifact/download/vszakats/generic/curl-7.50.2-win32-mingw.7z  (The needed files were in "curl-7.50.2-win32-mingw\bin\" folder)


Needed external:

1.) Download the curl-7.50.2-win32-mingw.7z file from https://bintray.com/artifact/download/vszakats/generic/curl-7.50.2-win32-mingw.7z   (Thanks Viktor Szakáts https://bintray.com/vszakats/generic/curl/).

2.) Extract the three curl libraries files:
   • curl-7.50.2-win32-mingw\bin\curl.exe
   • curl-7.50.2-win32-mingw\bin\curl-ca-bundle.crt
   • curl-7.50.2-win32-mingw\bin\libcurl.dll

and copy then these files to " Program folder/Scripts ":
              curl-ca-bundle.crt,
              curl.exe,
              libcurl.dll


These three above-mentioned files are needed to get the program of the work at all.

These files can also be found on these links,
http://www.videodb.info/forum_en/index.php/topic,4069.msg19897.html#msg19897
http://www.videodb.info/forum_en/index.php/topic,4069.msg19898.html#msg19898

where you also describes how to extract the files.

Important:

There's also a Rotten Tomatoes [HTTPS] script, which does not copy of this  " Program folder/Scripts " folder. Copy it this Rottentomatoes_ [HTTPS] script on this link (http://www.videodb.info/forum_en/index.php/topic,4069.msg19948.html#msg19948), which it operates correctly (script for testing and operation of the curl program).


Needed external for full functionality:

To spread in internet, the best form to save the 4 needed files:
              Scripts/Rottentomatoes_[HTTPS].psf,
              Scripts/curl-ca-bundle.crt,
              Scripts/curl.exe,
              Scripts/libcurl.dll


If you want to download the original ones: https://bintray.com/artifact/download/vszakats/generic/curl-7.50.2-win32-mingw.7z (The needed files were in "curl-7.50.2-win32-mingw\bin\" folder).


Operation curl program:


1.) Run the program PVD

2.) Run Rottentomatoes_ [HTTPS] script.  Wait until curl.exe runs in DOS Windows and at the same time automatically creates 'downpage.htm' file, which was saved web page with search results for the current movie title, you are looking for.

3.) Now you will be opened window with your search results. Confirm the desired movie title.

4.) Wait until you curl.exe again runs in DOS Windows and at the same time automatically creates 'downpage.htm' file, which is now stored movie web page for the current movie title, you are looking for.

It is important, what should not be done to PVD does not freeze:

Once you start Rottentomatoes_ [HTTPS] script, always wait until when you opened the window with the search results, or when a window pops of the record:
QuoteNot results. Try again or make an advanced search out of the script.
Write the movie URL (http) in the PVdB manually (remember separated by spaces) and run again.

Do not interrupt the start-up operations curl.exe program because you PVD mandatory freeze and it will be necessary to re-start again. There is a risk that the loss of data. Also make sure that during this time will not switch to the next title of the film, because you will be the next title of the film mandatory overwrite on the title of the film, which information you currently transmitted.

For testing of the possible, you can use curl_try.bat file in 7z file, which is also copied to the "Program folder/Scripts" folder. There can be no PVD download the web page, so that the bat file enter the URL you want to check and run curl_try.bat.  In curl_try.bat 7z files are also downpage_search.htm, downpage_try.htm and downpage.htm, which also copy the "Program folder/Scripts" folder.

curl_try.bat 7z is attached.




For more information, read this topic curl - solution for https in the Talk section.




The final version Rottentomatoes_ [HTTPS] script found on this link:

http://www.videodb.info/forum_en/index.php/topic,4079.0.html
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Ivek23

Quote from: VVV_Easy_Programing on 10 30 November, 2016, 10:07:11 PMWell, I don't know very much over proxy but curl has a lot of options over proxy:

QuotePROXY
curl supports both HTTP and SOCKS proxy servers, with optional authentication. It does not have special support for FTP proxy servers since there are no standards for those, but it can still be made to work with many of them. You can also use both HTTP and SOCKS proxies to transfer files to and from FTP servers.

You can try to make your own adaptation with the curl proxy parameters (¿--proxy?) listed in:
https://curl.haxx.se/docs/manpage.html

More info in:
https://curl.haxx.se/docs/manual.html
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD