2010-01-03, 16:34
@spiff (and others)
i'm struggling with a bug in the scrapper, need some quick help.
i managed to understand how you fetch additional pages and external pages so i added some fanart scrapping but i have the following problem :
in order to get the fanart on thetvdb i need to perform a search on their engine, i don't have any id to pass to the site from anidb. I use a function as follows :
using the anime name i get from the current anidb page being parsed. I don't know if the anime name used in the selection dialog is still somewhere but it probably makes no difference..
and so xbmc returns the following error :
it's probably an urlencoding error caused by the presence of spaces in the anime name.
Is there a way i can replace the spaces (with "+") or do some urlencoding on the pattern match i'll use for the <url> ?
Then could you point me to the current xml format for thumb and fanart. And there are some posters and banners on that website, can we use them for something in xbmc skins ?
thx
i'm struggling with a bug in the scrapper, need some quick help.
i managed to understand how you fetch additional pages and external pages so i added some fanart scrapping but i have the following problem :
in order to get the fanart on thetvdb i need to perform a search on their engine, i don't have any id to pass to the site from anidb. I use a function as follows :
Code:
<url gzip="yes" function="GetFanart">http://www.thetvdb.com/index.php?seriesname=Michiko to Hatchin&fieldlocation=1&language=7&genre=Animation&year=&order=fanartcount+desc&searching=Search&tab=advancedsearch</url>
using the anime name i get from the current anidb page being parsed. I don't know if the anime name used in the selection dialog is still somewhere but it probably makes no difference..
and so xbmc returns the following error :
Code:
ERROR: InternalGetDetails: Unable to parse web site [http://www.thetvdb.com/index.php?seriesname=Michiko to Hatchin&fieldlocation=1&language=7&genre=Animation&year=&order=fanartcount+desc&searching=Search&tab=advancedsearch]
it's probably an urlencoding error caused by the presence of spaces in the anime name.
Is there a way i can replace the spaces (with "+") or do some urlencoding on the pattern match i'll use for the <url> ?
Then could you point me to the current xml format for thumb and fanart. And there are some posters and banners on that website, can we use them for something in xbmc skins ?
thx