2010-01-21, 12:33
hi,
i'm working right now for two almost full-feature scrapers, one for romanian http://www.cinemagia.ro site, and the second for the russian http://www.kinopoisk.ru
the problem is that for the second scraper, kinopoisk.ru, there are multiple pages with posters, fanart and wallpapers. There are no problems for the posters. For the fanart, i have a function which return something like
for all images from the first page. i have also a function which return only <thumb ... > ... </thumb> results for the rest of fanart pages, and i'm calling it from the function which returns fanart from first page.
In this case, my final results are something like:
I have to say also that i tested all functions i've made and they are working well, so that the problem isn't in functions, it's about how xbmc is parsing the final results. So when it's about poster pages, xbmc is doing very well, but when he finds a <url function="..."> inside <fanart>...</fanart> tags xbmc doesn't parse it.
i tried to find a solution in this forum, but i did not
.
so i need somebody's help to solve this problem, so that i could post my scrapers
.
i'm working right now for two almost full-feature scrapers, one for romanian http://www.cinemagia.ro site, and the second for the russian http://www.kinopoisk.ru
the problem is that for the second scraper, kinopoisk.ru, there are multiple pages with posters, fanart and wallpapers. There are no problems for the posters. For the fanart, i have a function which return something like
<fanart>
[INDENT]<thumb preview="..." >...</fanart>
...
</fanart>[/INDENT][INDENT]<thumb preview="..." >...</fanart>
...
for all images from the first page. i have also a function which return only <thumb ... > ... </thumb> results for the rest of fanart pages, and i'm calling it from the function which returns fanart from first page.
In this case, my final results are something like:
<fanart>
[INDENT]<thumb preview="..." >...</fanart>
...
<url function="GetKPRUFanartPage" >...</function>
...
</fanart>[/INDENT][INDENT]<thumb preview="..." >...</fanart>
...
<url function="GetKPRUFanartPage" >...</function>
...
I have to say also that i tested all functions i've made and they are working well, so that the problem isn't in functions, it's about how xbmc is parsing the final results. So when it's about poster pages, xbmc is doing very well, but when he finds a <url function="..."> inside <fanart>...</fanart> tags xbmc doesn't parse it.
i tried to find a solution in this forum, but i did not
![Sad Sad](https://forum.kodi.tv/images/smilies/frown.png)
so i need somebody's help to solve this problem, so that i could post my scrapers
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)