پشتیبانی پایگاه داده‌ فیلم

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 پاسخ (در صفحه 1 از 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....

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود