开发者

XMLParseException when searching with tmdb c# api

开发者 https://www.devze.com 2023-02-01 21:55 出处:网络
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 searc

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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消