Page 1 of 1

[SOLVED] Scrapers

Posted: Tue Mar 01, 2016 6:24 pm
by ZeTsUnAmY
Hello and sorry for my english I'm french ;)
I've got the same problem like chriss179, my scraper TMDB and IMBD doesn't work.
The probleme is "SOLVED" but I don't understant how to fix it...
Can someone explain ?
Thanks a lot...

Re: Scrapers

Posted: Tue Mar 01, 2016 6:38 pm
by Geeba
Have you tried the latest build?

http://www.xbmc4xbox.org.uk/forum/viewt ... f=8&t=4622

It has TMDB fixes in it....

Re: Scrapers

Posted: Tue Mar 01, 2016 6:41 pm
by ZeTsUnAmY
Hello, I'm already on 3.5.3...
It say "Server seem not responding" (I translate from french)

Re: Scrapers

Posted: Tue Mar 01, 2016 10:29 pm
by Dan Dar3

Re: Scrapers

Posted: Wed Mar 02, 2016 9:28 am
by ZeTsUnAmY
Thanks for take a look !
Here is my xbmc.log after trying to "get informations of the film"
http://goo.gl/XMgFvI

Re: Scrapers

Posted: Wed Mar 02, 2016 11:42 am
by Dan Dar3
ZeTsUnAmY
Can you please read the post again, enable DEBUG mode first, restart XBMC4Xbox (Shutdown > Restart), scan an item ("get information") and then you can extract Q:\xbmc.log through FTP right after that, no need to shut it down first, thanks.

Re: Scrapers

Posted: Wed Mar 02, 2016 12:28 pm
by ZeTsUnAmY
Sorry...
Here is the new link of my log
http://goo.gl/KffWOI

Re: Scrapers

Posted: Wed Mar 02, 2016 1:03 pm
by Dan Dar3
No worries. Looking at log lines 210-212, I see there is no NFO, but not sure whether did you set a content type when you created the video source for F:\Videos, did you? If not, select the video source you probably have called "Videos", press context key on that and choose "Set content" - practically this is how you tell XBMC4Xbox what type of media is in that folder and what scraper to use, so I would suggest to choose "Movies" and "TMDB". Once done, press OK, go back to the movie and choose "Movie information", that should scrape it. Keep debug mode on and post the log again if it doesn't work.

http://www.xbmc4xbox.org.uk/wiki/Set_Co ... g_Contents

[SOLVED] Re: Scrapers

Posted: Wed Mar 02, 2016 1:14 pm
by ZeTsUnAmY
OMG it was so simple...
It works, thanks a lot ! I haven't thought about that because it said "rever not responding" lol
A lot question... Can we add more scraper or change imdb to fr ? (I want to add one in french if it exist...)

Re: Scrapers

Posted: Wed Mar 02, 2016 2:05 pm
by ZeTsUnAmY
I've changed eng to fr in the xml files of scraers and it works ;) thanks a lot !!!

Re: Scrapers

Posted: Wed Mar 02, 2016 2:05 pm
by Dan Dar3
That's great you solved it - yes, it's odd that it told you "server not responding" where instead of I don't know telling you didn't set a content type.

Well, no, it's not that easy to do - the code for a scraper is fairly complicated (regular expressions and rules and so on) and usually it does that by parsing the contents of web page (at least in the case of IMDB), pages that may change format or might be even slightly different per movie entry, meaning that it will not always work and it can break at any time when the website changes. For that reason TMDb is recommended as it has a hard, well defined XML structure for the content, as opposed to IMDB that uses the HTML contents of the webpage.

http://www.xbmc4xbox.org.uk/wiki/Scrapers

Re: Scrapers

Posted: Wed Mar 02, 2016 2:06 pm
by Dan Dar3
Very good, well done :)

Keep that information in mind if you happen to report an issue with it later on :-)

Re: [SOLVED] Scrapers

Posted: Wed Mar 02, 2016 2:54 pm
by ZeTsUnAmY
No pb ! Now i'm trying to make your app working for me ;)

Re: [SOLVED] Scrapers

Posted: Wed Mar 02, 2016 10:12 pm
by Dan Dar3
Very good. And I'm trying to finish a new version for more than a year, so take your time :-)