2019-03-02, 15:39
(2019-02-16, 13:47)olympia Wrote: odds are high that themoviedb.org TV scraper is not scraping IMDb id at all, that's why the refresh process removes it from the Db.
I had a look at the TMDB API sandbox and the code for the scraper. Looks to me like the scraper queries the IMDB ID correctly in lines 11-16 of tmdb.xml.
Maybe the dest value of these functions is incorrect? Then again, I'm not a programmer and just talking nonsense. If so, sorry.xml:
<RegExp input="$$1" output="<url function="GetTMDBId">http://api.themoviedb.org/3/find/\1?api_key=6a5be4999abf74eba1f9a8311294c267&amp;external_source=imdb_id</url>" dest="5">
<expression clear="yes" noclean="1">imdb....?/title/(tt[0-9]*)</expression>
</RegExp>
<RegExp input="$$1" output="<url function="GetTMDBId">http://api.themoviedb.org/3/find/tt\1?api_key=6a5be4999abf74eba1f9a8311294c267&amp;external_source=imdb_id</url>" dest="5">
<expression noclean="1">imdb....?/Title\?([0-9]*)</expression>
</RegExp>
The API sandbox returns a result of "American Dad!" for this query:
xml:https://api.themoviedb.org/3/find/tt0397...ce=imdb_id