TMDB scraper doesn`t work

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
User avatar
RextheC
Posts: 40
Joined: Sun Feb 22, 2015 5:15 pm
Has thanked: 33 times
Been thanked: 8 times

Re: TMDB scraper doesn`t work

Post by RextheC »

Here the same... unfortunately tmdb doesnt work. :(
...THE TRUTH IS OUT THERE...
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: TMDB scraper doesn`t work

Post by BuZz »

I will look into it when I have a chance.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

Thanks Buzz, appears to be a problem with the API key?

Code: Select all

GET /3/search/movie?api_key=f7f51775877e0bb6703520952b3c7840&query=crazy%20%20stupid%20%20love&year=2011&language= HTTP/1.1

Code: Select all

{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: TMDB scraper doesn`t work

Post by BuZz »

ok. Should be enough to update it. Will check What Kodi use or will request our own.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

Definitely a problem with the API key (suspended):

Code: Select all

http://api.tmdb.org/3/movie/2?api_key=f7f51775877e0bb6703520952b3c7840
{"status_code":10,"status_message":"Suspended API key: Access to your account has been suspended, contact TMDb."}
Using Kodi's API key (6889f6089877fd092454d00edb44a84d, from here) and replacing it in Q:/system/scrapers/video/tmdb.xml and common/tmdb.xml definitely sorts out that part of the problem.

I think it still has a problem parsing the results though - I can see them coming through Fiddler, but with empty results in Q:\xbmc.log. I can't figure it right now, I could never get my head around the parsing expressions in scraper XMLs, I'll give it another shot tomorrow morning or maybe you Buzz will fix it out first.
User avatar
RextheC
Posts: 40
Joined: Sun Feb 22, 2015 5:15 pm
Has thanked: 33 times
Been thanked: 8 times

Re: TMDB scraper doesn`t work

Post by RextheC »

What would we do without you guys. THX a lot :!: :D
...THE TRUTH IS OUT THERE...
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

Issue #359 created.
https://redmine.exotica.org.uk/issues/359

@Gandalph / @RextheC
Could you both try the files in archive attached in the ticket (tmdb fix.zip) and let us know how it works for you, thanks.
Place the contained files into your "Q:\system\scrapers\movie\" and "common" subolder respectively.
User avatar
Dom DXecutioner
Posts: 585
Joined: Thu Jul 05, 2012 11:59 pm
Location: California
Has thanked: 249 times
Been thanked: 219 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dom DXecutioner »

Dan Dar3 wrote:Issue #359 created.
https://redmine.exotica.org.uk/issues/359

@Gandalph / @RextheC
Could you both try the files in archive attached in the ticket (tmdb fix.zip) and let us know how it works for you, thanks.
Place the contained files into your "Q:\system\scrapers\movie\" and "common" subolder respectively.
You beat me to it; good work, and thank you!


Sent from my iPhone using Tapatalk
Image
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

Little bit of friendly competition makes it good for everyone ;-) Great to see you guys are still on it (Y)
User avatar
RextheC
Posts: 40
Joined: Sun Feb 22, 2015 5:15 pm
Has thanked: 33 times
Been thanked: 8 times

Re: TMDB scraper doesn`t work

Post by RextheC »

Yeap! looks good :)
Fanart, Infos, Cover everthing is working. :D
Once more... thank you so much.
...THE TRUTH IS OUT THERE...
User avatar
Gandalph
Posts: 8
Joined: Thu Mar 09, 2017 8:02 am
Has thanked: 2 times
Been thanked: 3 times

Re: TMDB scraper doesn`t work

Post by Gandalph »

Dudes, first of all sorry for my late reply but vacation, ya know... :D

Then - many thanks for reviving the tmdb scarper also on my xbox. It works fine!
Really, you are the best 8-)
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

A user (Chaussy Fabien) reported on Facebook scrapper not working again, but changing the key again to the Rapserry Kodi key fixed it again (ecbc86c92da237cb9faff6d3ddc4be6d). Will try it again later and create a ticket for it.
Xares
Posts: 1
Joined: Sat Nov 25, 2017 7:51 pm
Has thanked: 1 time

Re: TMDB scraper doesn`t work

Post by Xares »

Dan Dar3 wrote: Wed Nov 22, 2017 10:50 am A user (Chaussy Fabien) reported on Facebook scrapper not working again, but changing the key again to the Rapserry Kodi key fixed it again (ecbc86c92da237cb9faff6d3ddc4be6d). Will try it again later and create a ticket for it.
thanks that key works
User avatar
Gandalph
Posts: 8
Joined: Thu Mar 09, 2017 8:02 am
Has thanked: 2 times
Been thanked: 3 times

Re: TMDB scraper doesn`t work

Post by Gandalph »

Hey Dudes,

well, existing problem with the tmdb scraper can be confirmed my me. :roll:
And- thats much better- solution can also be confirmed 8-)

Changing the key helps you making the scraper work again. As the key would have to be replaced in 18 lines I scripted the change and uploaded a "new" tmdb.xml for you all.
It can be found at: tmdb.xml

Please make mirror(s) if needed.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

Updated ticket 359 with a new fix, waiting for Buzz to promote it.
shady7
Posts: 85
Joined: Fri Aug 03, 2012 6:45 am
Has thanked: 1 time
Been thanked: 4 times

Re: TMDB scraper doesn`t work

Post by shady7 »

Hi there
Still cant get tmdb scraper to work with new fix, it says cannot connect to server, tried imdb scraper that scrapes but no thumbnail, can someone walk me through how to fix tmdb scraper please
cheers
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

@shady7
See the files in the link below, clicking on each of the will present you a page with a Download button in the top right corner.
https://redmine.exotica.org.uk/projects ... ions/33031

Save each as the structure in the page suggests to:
  • Q:\system\scrapers\video\common\tmdb.xml
  • Q:\system\scrapers\video\tmdb.xml
followed by a XBMC4Xbox restart.

If still doesn't work, give us a debug log please.
viewtopic.php?f=2&t=65
shady7
Posts: 85
Joined: Fri Aug 03, 2012 6:45 am
Has thanked: 1 time
Been thanked: 4 times

Re: TMDB scraper doesn`t work

Post by shady7 »

Thanks Dan Dar3 TMDB working :D
Eel_dahc
Posts: 7
Joined: Wed Apr 20, 2016 2:52 am

Re: TMDB scraper doesn`t work

Post by Eel_dahc »

Hi All, after all my years of using XBMC4XBOX, I have never really used the Library mode because I didn't have the internet set up to do it. But now I do. I can't seem to get the my movie thumbnails to download. I get the info just fine. TV shows thumbnails work but of course that's a different scraper.
I have the the content provider for movies set to TMDB and I placed the xmls as decribed. Did I not set something up right?

Some debug info, it only shows a section pertaining to one movie.
I did notice that the API key shown in the log does not match the key that's in the file, but I do not know if that's it or not or how that key got there.

https://pastebin.com/ms2JRQnB

Eidt: I ftp'd over a fresh install of XBMC with the new xmls and started over. The posters popped up this fine. Problem solved.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: TMDB scraper doesn`t work

Post by Dan Dar3 »

@Eel_dahc
I can't see the key in your log excerpt, but if it's not the same it might mean you haven't restarted XBMC4Xbox after updating the TMDb XML files.

Code: Select all

11:17:00 M: 28372992 DEBUG: CurlFile::Open(00A09898) http://api.themoviedb.org/3/movie/tt208 ... anguage=en
11:17:05 M: 28368896 ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
cURL error 22 tells us the HTTP call return a server error (4xx or 5xx), you should be able to reproduce it by taking the URL from the log and putting it in your browser. I'm not sure why it contains "...", I thought it should have been entirely as is in the log, unless you've trimmed them down yourself. Anyway, let us know how it goes.
Post Reply