Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API doesn't work #11

Open
MarcoGasperini opened this issue Jan 5, 2018 · 1 comment
Open

API doesn't work #11

MarcoGasperini opened this issue Jan 5, 2018 · 1 comment

Comments

@MarcoGasperini
Copy link

MarcoGasperini commented Jan 5, 2018

Starting since 05/01/2018 these API doesn't work for me. Methods return an Imdb Exception:
(example with method getFullDetails)
Exception in thread "main" com.omertron.imdbapi.ImdbException: ExceptionType=HTTP_404_ERROR, ResponseCode=404, URL=http://app.imdb.com/title/maindetails?api=v1&appid=iphone1&locale=en&timestamp=1515158110&tconst=tt0330373&sig=app1
at com.omertron.imdbapi.tools.HttpTools.validateResponse(HttpTools.java:136)
at com.omertron.imdbapi.tools.HttpTools.getRequest(HttpTools.java:62)
at com.omertron.imdbapi.tools.ApiBuilder.getWrapper(ApiBuilder.java:94)
at com.omertron.imdbapi.ImdbApi.getFullDetails(ImdbApi.java:651)
at com.omertron.imdbapi.ImdbApi.getFullDetails(ImdbApi.java:637)
at statistics.ApplicationStatisticsExtractor.main(ApplicationStatisticsExtractor.java:32)

Trying on the web browser the following url (the one that gives me the exception): "http://app.imdb.com/title/maindetails?api=v1&appid=iphone1&locale=en&timestamp=1515113401&tconst=tt0330373&sig=app1"
Result is: "Page not found. IMDb API is for use only by clients authorized in writing by IMDb. Authors and users of unauthorized clients accept full legal exposure/liability for their actions."

@artships
Copy link

Hi, Omertron. Using yamj-v2 successfully until this week when the thetvdb api changed...
Failed to get year for ID 307388, Season 1, lanugage 'en' - error: ExceptionType=HTTP_404_ERROR, ResponseCode=403, URL=http://thetvdb.com/api/[APIKEY]/series/307388/default/1/1/en.xml
com.omertron.thetvdbapi.TvDbException: ExceptionType=HTTP_404_ERROR, ResponseCode=403, URL=http://thetvdb.com/api/2805AD2873519EC5/series/307388/default/1/1/en.xml
at com.omertron.thetvdbapi.tools.DOMHelper.requestWebPage(DOMHelper.java:260)
at com.omertron.thetvdbapi.tools.DOMHelper.getValidWebpage(DOMHelper.java:151)
at com.omertron.thetvdbapi.tools.DOMHelper.getEventDocFromUrl(DOMHelper.java:121)
at com.omertron.thetvdbapi.tools.TvdbParser.getEpisode(TvdbParser.java:221)
at com.omertron.thetvdbapi.TheTVDBApi.getTVEpisode(TheTVDBApi.java:230)
at com.omertron.thetvdbapi.TheTVDBApi.getEpisode(TheTVDBApi.java:180)
at com.omertron.thetvdbapi.TheTVDBApi.getSeasonYear(TheTVDBApi.java:271)
at com.moviejukebox.plugin.TheTvDBPlugin.getYear(TheTvDBPlugin.java:199)
at com.moviejukebox.plugin.TheTvDBPlugin.scan(TheTvDBPlugin.java:126)
at com.moviejukebox.plugin.DatabasePluginController.scan(DatabasePluginController.java:118)
at com.moviejukebox.MovieJukebox.updateMovieData(MovieJukebox.java:1996)
at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:964)
at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:945)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at com.moviejukebox.tools.ThreadExecutor$ScheduledThread.run(ThreadExecutor.java:129)

I was more of a Perl programmer back in the day so this java stuff is like a foreign language to me. If you could fix this I will name a spaceship after you. http://artships.com/2005/ion.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants