키보드 단축키
고급 검색
i call https://api.themoviedb.org/3/tv/popular?api_key=##########&sort_by=popularity.desc&without_genres=10767,2010766,2010763,2010764
i keep getting the genres i am trying to exclude, is this right or how is that done
By using a comma, you’re asking to filter any movies that have all of those genres entered, and there is probably none.
You should switch to use a pipe | instead which turns it into an OR query, which I believe is what you’re actually looking for.
|
For some reason i still have the problem, for example when i call https://api.themoviedb.org/3/tv/popular?api_key=$$$$$&sort_by=popularity.desc I get squid game, i try calling the api with end point &without_genres=18, but i again get squid game which has a genre 18.
Hi @blaidyalah,
I am not seeing Squid Game returned in this query:
https://api.themoviedb.org/3/discover/tv?api_key=###&without_genres=18
When using without_genres=18, there are 149,775 results. When I remove it, there is 190,497 results which seems correct.
without_genres=18
Oh yes, the problem is fixed when i use discover tv, instead of popular tv, appreciate it.
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
로그인
회원가입
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
가입하고 커뮤니티에 참여하세요
Travis Bell님의 댓글
1월 25, 2025 at 6:59 오후
By using a comma, you’re asking to filter any movies that have all of those genres entered, and there is probably none.
You should switch to use a pipe
|
instead which turns it into an OR query, which I believe is what you’re actually looking for.blaidyalah님의 댓글
1월 25, 2025 at 7:13 오후
For some reason i still have the problem, for example when i call https://api.themoviedb.org/3/tv/popular?api_key=$$$$$&sort_by=popularity.desc I get squid game, i try calling the api with end point &without_genres=18, but i again get squid game which has a genre 18.
Travis Bell님의 댓글
1월 25, 2025 at 9:12 오후
Hi @blaidyalah,
I am not seeing Squid Game returned in this query:
When using
without_genres=18
, there are 149,775 results. When I remove it, there is 190,497 results which seems correct.blaidyalah님의 댓글
1월 26, 2025 at 4:16 오전
Oh yes, the problem is fixed when i use discover tv, instead of popular tv, appreciate it.