Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XMLParseException when searching with tmdb c# api

Tags:

c#

I am trying to access movie info using themoviedb API as imdb seems like a lost cause.

They use a key which I replaced with *'s but from what I can see this should be all I need to do a simple search

so my code is very simple

TmdbAPI api = new TmdbAPI("***************************");
TmdbMovie[] movies = api.MovieSearch(batman);

But whenever I search I get the XMLParseException unless I outcomment the second line

There is a sample application, but I cant get it to run with VS2010 and I cant see how its doing the things any differently except that app reads the name of the movie from a textbox as mine will further down the road.

like image 393
Mech0z Avatar asked Dec 05 '25 19:12

Mech0z


1 Answers

Looking at the issue tracker, there appears to be a problem with the returned XML since December 1st 2010 (if not earlier).

like image 200
Oded Avatar answered Dec 08 '25 10:12

Oded



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!