Page 1 of 1

Format: themoviedb slug

Posted: 17 Dec 2019, 08:07
by xhAJHUYe6uc
Hi!

Is there any way to get the tmdb slug for formatting/naming?

Lets take this as an example: https://www.themoviedb.org/movie/631380 ... uage=en-US

Has id 631380 as ID. Title Slug is 631380-one-must-fall. (Computing the slug is not an option as there are exceptions to certain title types.)

tmdbid TheMovieDB ID 631380 String
tmdbslug TheMovieDB Slug 631380-one-must-fall String

Re: Format: themoviedb slug

Posted: 17 Dec 2019, 08:34
by rednoah
AFAIK, the API does not expose the slug.

Assuming there even is a slug in the database internally, because it doesn't matter, because all these URLs will redirect you to the same page:

Code: Select all

https://www.themoviedb.org/movie/631380
https://www.themoviedb.org/movie/631380-one-must-fall
https://www.themoviedb.org/movie/631380-Hello-World

Re: Format: themoviedb slug

Posted: 17 Dec 2019, 08:51
by xhAJHUYe6uc
Assuming there even is a slug in the database internally, because it doesn't matter, because all these URLs will redirect you to the same page
Hm, that I did not know :roll:

Guess I can work around it then :) Thanks for fast response.