Format: themoviedb slug

Any questions? Need some help?
Post Reply
xhAJHUYe6uc
Posts: 20
Joined: 15 Oct 2019, 08:17

Format: themoviedb slug

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Format: themoviedb slug

Post 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
:idea: Please read the FAQ and How to Request Help.
xhAJHUYe6uc
Posts: 20
Joined: 15 Oct 2019, 08:17

Re: Format: themoviedb slug

Post 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.
Post Reply