The Movie Database-støtte

Using Yadis as a scraper for my movies. Since a couple of days scraping a movie freezes Yadis. Series in no problem.

As a co-developer of Yadis noticed the problem is in the xml-file Yadis uses for Dutch language [nl]

Here i quote what de dev wrote on the MPC-forum:

[quote]

regarding the scraping problem, I guess your are all from netherlands...

I just made some tests and all other languages are Ok except NL. For an unknown reason it seems that TMDB wants your language to be asked in capital letters when making a search query (NL), while yadis is using small letters (nl). Small letters are working perfectly with everything but NL...

Here is how you can solve the problem :

  1. go to /yadis/languages folder
  2. open nl.xml
  3. first line you see should be Code: nl4. just change nl to NL
  4. save the file and restart yadis. It should be OK

My guess is that this is certainly a bug in TMDb that might be corrected at some point. So if in a near future you see that it's broken again, try to go back to "nl" in the same way...

[/quote]

Above is a good solution but the problem is then that what happened with moviews is now affective on tv-serie. If one changes the language to English or another Language ther is no problem in scraping both movies and series.

The dev of Yadis wrote the following about that:

[quote]

well, as there's only one ISO language naming for both TMDB and TVDB, and that the correct one should be "nl", i assume that when you change it to "NL" TMDB works, but TVDB doesn't work anymore this is definitively a bug in TMDB as this is the only language with this problem.

i would suggest to use english and wait till it's resolved. i'm going to ask Fred to have a look at it.

[/quote]

Hope that you are able to fix this. All Dutch users using Yadis are effected by this

Tia

5 svar (på side 1 av 1)

Jump to last post

Hi peterschmidt,

I'm a little bit confused by what you're asking. We don't switch based on 'NL' vs. 'nl'. Those are the same on our system. You can see these are the same response:

https://api.themoviedb.org/3/movie/550?api_key=###&language=nl

https://api.themoviedb.org/3/movie/550?api_key=###&language=NL

Is that what you think is the problem?

Well i am not a API specialist. But the original string was this:

string id="0">nl</string

That is in the xml from Yadis With this string Yadis didnt scrape medi-info, background etc, but 'Froze'

After the tip on MPC-club we changed 'nl' to 'NL' and then Yadis was working fine

So yes we think the problem is in the NL-nl

Hi Peter,

All I can say is that as you can see from my queries above, everything is working as it should on our end. You'll have to figure out the difference in Yadis and fix it there. I don't see any issues with the API. 'NL-nl' is not a valid language code on TMDb, so that will certainly never work.

Travis,

Thanks for looking into it. I will direct the dev from Yadis to youre answer and hope that they are able to find out whats wrong.

Greetz

Developer of Yadis provided us with a fix for this issue.

Thanks agian for looking into it as well

Case couldt be closed....

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p åpne profilmenyen
esc lukk et åpent vindu
? open keyboard shortcut window

On media pages

b gå tilbake (eller til foreldresiden når mulig)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Innstillinger

Vil du vurdere eller legge til dette elementet i en liste?

Logg inn