Assistance de TMDB

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 réponses (sur la page 1 sur 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....

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion