Open CinemaVision opened 6 years ago
I know it's possible with the new TMDb scraper, and it would check a box that's been requested for a while now. I believe all we have to do is modify this in scraper.py:
BASE_URL = 'https://api.themoviedb.org/3/movie/{endpoint}?language=en-US&api_key=' + API_KEY
We can turn ?language=XX-XX into a variable using the language codes from the API. Maybe even have it discover the users region?
de-DE = Returns German trailers. pt-BR = Returns Portuguese trailers.
And so on. What are your thoughts?
I know it's possible with the new TMDb scraper, and it would check a box that's been requested for a while now. I believe all we have to do is modify this in scraper.py:
BASE_URL = 'https://api.themoviedb.org/3/movie/{endpoint}?language=en-US&api_key=' + API_KEY
We can turn ?language=XX-XX into a variable using the language codes from the API. Maybe even have it discover the users region?
de-DE = Returns German trailers. pt-BR = Returns Portuguese trailers.
And so on. What are your thoughts?