Posted by: Ivek23
« on: December 14, 2014, 03:45:07 pm »Script:
TheMovieDB [ES] 2014 (Easy Script)
The problem is with the transfer of information from TheMovieDB web pages.
Log Message
As shown in the present example TheMovieDB when the page is
start url address "http://" into "https://" and now the script for this page yet find search results just by using the api-key, the transfer of information from TheMovieDB web pages it does not work anymore.
Below is an example of what is happening with the transfer of information from TheMovieDB web page for the next movie or series:
http://www.themoviedb.org/search/movie?query=Little+House+on+the+Prairie
BTW:
TheMovieDB plugin still works for now, since it uses the api-key.
TheMovieDB [ES] 2014 (Easy Script)
The problem is with the transfer of information from TheMovieDB web pages.
Log Message
Code: [Select]
(14.12.2014 15:03:54) PVD Version: 0.9.9.21
(14.12.2014 15:03:54) OS: Windows 7 Home Basic Edition
(14.12.2014 15:03:54) Plugin loaded: imdb.dll 0.9.8.25
(14.12.2014 15:03:54) Plugin loaded: imdb2.dll 0.9.8.24
(14.12.2014 15:03:54) Plugin loaded: plainexp.dll 0.7.1.1
(14.12.2014 15:03:54) Plugin loaded: scriptint.dll 0.2.6.1
(14.12.2014 15:03:55) Plugin loaded: valueconvert.dll 0.1.0.2
(14.12.2014 15:03:55) Compiling script: TheMovieDB_[ES]_2014.psf
(14.12.2014 15:03:55) Script compiled successfully: TheMovieDB_[ES]_2014.psf
[Warning] (514:19): "True and" is not needed
[Warning] (526:21): Calculation always evaluates to False
(14.12.2014 15:03:55) Executing script binary
(14.12.2014 15:03:55) Script loaded: TheMovieDB_[ES]_2014.psf 0.1.7.2
(14.12.2014 15:03:55) Loading database: D:\MyPVD\Personal Video Database 11M\Nova mapa\MOVIES.PVD
(14.12.2014 15:03:56) UpdateToolbar: 1
(14.12.2014 15:03:57) UpdateToolbar: 2
(14.12.2014 15:03:57) UpdateToolbar: 3
(14.12.2014 15:04:02) Compiling script: TheMovieDB_[ES]_2014.psf
(14.12.2014 15:04:02) Script compiled successfully: TheMovieDB_[ES]_2014.psf
[Warning] (514:19): "True and" is not needed
[Warning] (526:21): Calculation always evaluates to False
(14.12.2014 15:04:02) Executing script binary
(14.12.2014 15:04:02) Logging in...
(14.12.2014 15:04:02) Searching movie information for: Blade
(14.12.2014 15:04:02) GET: http://www.themoviedb.org/search/movie?query=Blade
(14.12.2014 15:04:02) Redirected to: https://www.themoviedb.org/search/movie?query=Blade
(14.12.2014 15:04:02) IOHandler value is not valid
(14.12.2014 15:04:10) UpdateToolbar: 4
(14.12.2014 15:04:10) UpdateToolbar: 5
As shown in the present example TheMovieDB when the page is
start url address "http://" into "https://" and now the script for this page yet find search results just by using the api-key, the transfer of information from TheMovieDB web pages it does not work anymore.
Below is an example of what is happening with the transfer of information from TheMovieDB web page for the next movie or series:
http://www.themoviedb.org/search/movie?query=Little+House+on+the+Prairie
Yes
It seems like PVdB script GET funtion does not recogniced the "https://" prefix.
If I use:
SEARCH_STR = 'http://www.themoviedb.org/search/movie?query=%s'
Log Window shows:
(11/12/2014 21:12:35) Searching movie information for: Little House on the Prairie
(11/12/2014 21:12:35) GET: http://www.themoviedb.org/search/movie?query=Little+House+on+the+Prairie
(11/12/2014 21:12:36) Redirected to: https://www.themoviedb.org/search/movie?query=Little+House+on+the+Prairie
(11/12/2014 21:12:36) IOHandler value is not valid
If I use:
SEARCH_STR = 'https://www.themoviedb.org/search/movie?query=%s'
Log Window shows:
(11/12/2014 21:17:40) Searching movie information for: Little House on the Prairie
(11/12/2014 21:17:40) GET: http://https://www.themoviedb.org/search/movie?query=Little+House+on+the+Prairie
(11/12/2014 21:17:43) Socket Error # 11001 Host not found.
I could use the api search:
http://api.themoviedb.org/3/search/movie?query=%s&api_key=0a4782bd3877917501a2d45e1198f809'
but it's more difficult ( Not Easy Script ).
I will continue working but it is a shame not to correct the problem of the GET function. Any idea?
BTW:
TheMovieDB plugin still works for now, since it uses the api-key.