141
Talk / Re: curl - solution for https
« on: November 06, 2016, 08:34:08 pm »
Attach you have a functional version:
VERSION: 0.3.0.0 (06/11/2016) -> VVV: Rebuild full script.
It retrieve the principal infos (you could complete the rest, I left hints in the code).
I don't now all the custom fields. I retrieved some ratings but I left hints and questions in the code.
Not poster or screenshot (if you have the https link I could retrieve it with curl and charge in PVdB by file but it's not easy to find in the page).
I see that RT is a slowly page, don't worry if the DOS windows stops a 5 or 6 seconds when you run in PVdB, the script waits (this was a big problem. now is solved).
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
is compressed in a zip file but the length is out of the limit of the forum. Now, the script checks that all files are present.
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)
Finally, it's not difficult to adapt this script to another HTTPS page. All people are free to use it.
VERSION: 0.3.0.0 (06/11/2016) -> VVV: Rebuild full script.
It retrieve the principal infos (you could complete the rest, I left hints in the code).
I don't now all the custom fields. I retrieved some ratings but I left hints and questions in the code.
Not poster or screenshot (if you have the https link I could retrieve it with curl and charge in PVdB by file but it's not easy to find in the page).
I see that RT is a slowly page, don't worry if the DOS windows stops a 5 or 6 seconds when you run in PVdB, the script waits (this was a big problem. now is solved).
Quote
How to edit or connect now all files from curl_try to Rottentomatoes_ [HTTPS] in one executable file.The script works directly in PVdB without need get out to DOS (curl_try was only a check).
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
is compressed in a zip file but the length is out of the limit of the forum. Now, the script checks that all files are present.
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)
Quote
Will now required for each movie in curl_try file manually enter the URL address of the movie, which is of course more movies lengthy work, or it will be automatically regulated.Now the script have a automatical full search, but it must save in the 'http' (not S) base url. For back compatibility and for prevents PVdB crash. Do the same if you write it manually.
Finally, it's not difficult to adapt this script to another HTTPS page. All people are free to use it.