[SOLVED] Scrapers

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
ZeTsUnAmY
Posts: 8
Joined: Tue Mar 01, 2016 3:27 pm

[SOLVED] Scrapers

Post 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...
Geeba
Posts: 539
Joined: Wed Jul 04, 2012 11:32 am
Location: UK
Has thanked: 63 times
Been thanked: 31 times

Re: Scrapers

Post 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....
ZeTsUnAmY
Posts: 8
Joined: Tue Mar 01, 2016 3:27 pm

Re: Scrapers

Post by ZeTsUnAmY »

Hello, I'm already on 3.5.3...
It say "Server seem not responding" (I translate from french)
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Scrapers

Post by Dan Dar3 »

ZeTsUnAmY
Posts: 8
Joined: Tue Mar 01, 2016 3:27 pm

Re: Scrapers

Post by ZeTsUnAmY »

Thanks for take a look !
Here is my xbmc.log after trying to "get informations of the film"
http://goo.gl/XMgFvI
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Scrapers

Post 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.
ZeTsUnAmY
Posts: 8
Joined: Tue Mar 01, 2016 3:27 pm

Re: Scrapers

Post by ZeTsUnAmY »

Sorry...
Here is the new link of my log
http://goo.gl/KffWOI
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Scrapers

Post 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
ZeTsUnAmY
Posts: 8
Joined: Tue Mar 01, 2016 3:27 pm

[SOLVED] Re: Scrapers

Post 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...)
ZeTsUnAmY
Posts: 8
Joined: Tue Mar 01, 2016 3:27 pm

Re: Scrapers

Post by ZeTsUnAmY »

I've changed eng to fr in the xml files of scraers and it works ;) thanks a lot !!!
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Scrapers

Post 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
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Scrapers

Post by Dan Dar3 »

Very good, well done :)

Keep that information in mind if you happen to report an issue with it later on :-)
ZeTsUnAmY
Posts: 8
Joined: Tue Mar 01, 2016 3:27 pm

Re: [SOLVED] Scrapers

Post by ZeTsUnAmY »

No pb ! Now i'm trying to make your app working for me ;)
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: [SOLVED] Scrapers

Post by Dan Dar3 »

Very good. And I'm trying to finish a new version for more than a year, so take your time :-)
Post Reply