Tmdb Client Error: {"success":false,"status_code":11,"status_message":"Internal error: Something went wrong, contact TMDb.","combined_credits":{"cast":[{"adult":false,"backdrop_path":null,"genre_ids":[99],"id":481780,"original_language":"es","original_title":"Secos","overview":"Chile is the only country that has privatized its waters, in favor of large corporations, to the detriment of homes in rural and urban communities. Secos is a short that makes this reality visible, through the dialog between anonymous fighters from the most heavily affected provinces, with renowned actors and actresses in the country. The objective is to activate the topic of water as a human right, to achieve in the future the recovery of this vital element as a common good for all communities and territories.","popularity":0.889,"poster_path":"/bQ44H3Cj97krhXohDFb1KE2CwuH.jpg","release_date":"2017-10-14","title":"Secos","video":false,"vote_average":0.0,"vote_count":0,"character":"Herself","credit_id":"59e607fe925141024800c06f","order":7,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[27,18],"id":366865,"original_language":"es","original_title":"El huésped","overview":"Five medicine interns in an old public hospital must face all their fears when they start to being stalked by a strange being.","popularity":1.351,"poster_path":"/BxPf9WPhVnkRiAPMiRiAT5PGkT.jpg","release_date":"2003-11-06","title":"El huésped","video":false,"vote_average":2.0,"vote_count":1,"character":"Dr. Solar","credit_id":"5b9c6309c3a3680347003df5","order":9,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":673830,"original_language":"es","original_title":"Consuelo","overview":"A Chilean exile leaves his Swedish partner to return to Chile. There he meets his old love, Consuelo.","popularity":0.728,"poster_path":"/lxgAJO1CwzOl1nWQwMzpd2D8IMA.jpg","release_date":"1989-05-12","title":"Consuelo","video":false,"vote_average":6.0,"vote_count":1,"character":"Consuelo","credit_id":"5e4ad5cd4d0e8d048b15212c","order":1,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":110933,"original_language":"es","original_title":"La luna en el espejo","overview":"An aged former sailor, ill and confined in his bed, maintains his firm grip on his house and his son, who is having an affair with the widowed next door, through many mirrors displayed in his room and all around the house.","popularity":0.526,"poster_path":"/stxWKWvtJniR8jl5S0pv2UA8GaC.jpg","release_date":"1990-09-14","title":"The Moon in the Mirror","video":false,"vote_average":6.3,"vote_count":6,"character":"Neighbor (voice)","credit_id":"5e4ada524d0e8d05e815223a","order":6,"media_type":"movie"},{"adult":false,"backdrop_path":"/bYkgJUGlkDrKzCrN6Jrd1qVx9aB.jpg","genre_ids":[35,10749],"id":20222,"original_language":"es","original_title":"Sexo con amor","overview":"In Santiago, Chile, the schoolteacher Luisa proposes a debate about sex with the parents of her students with the intention of giving classes about sex education to the youngsters.","popularity":14.669,"poster_path":"/9Unz4SnlkXg0OAxgiLKZAfu096c.jpg","release_date":"2003-03-27","title":"Sex with Love","video":false,"vote_average":6.5,"vote_count":229,"character":"Monica","credit_id":"5e4adc064d0e8d048b15217d","order":8,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":618400,"original_language":"es","original_title":"Hechos consumados","overview":"The extreme poverty produced by unbridled neoliberalism in Pinochet’s Chile is an allegory for the disappeared. Based on a play by Juan Radrigán.","popularity":2.54,"poster_path":"/uoci8sQJWtqLJIYZKE4SH6CO2uC.jpg","release_date":"1986-11-21","title":"Hechos consumados","video":false,"vote_average":0.0,"vote_count":0,"character":"Marta","credit_id":"5e4ad3344d0e8d05e81521a9","order":1,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":114045,"original_language":"es","original_title":"Los náufragos","overview":"After 20 years of exile, Aron returns to Chile to find out who he is. He asks questions, not only of those who stayed behind but also of himself, examining his relationship with his past and his own memory. The people who stayed lived through 20 years of dictatorship. They were either victims or executioners. Amidst this wreckage, Aron wonders what name his brother is using now, where his father is... Can he, in Isol's arms and through her love, find his way again ? What future awaits him? Like Mola the torturer, he has returned from an impossible journey, and Aron knows that each man is his own executioner. Shipwreck and resurrection are the two facets of a complex truth.","popularity":1.033,"poster_path":"/5srrAkAQy6QOIjsC0rsKQte3NP3.jpg","release_date":"1994-01-01","title":"Los náufragos","video":false,"vote_average":4.6,"vote_count":5,"character":"Leticia","credit_id":"5e4adb8e4d0e8d048b152160","order":8,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[10749,18],"id":405534,"original_language":"es","original_title":"Te amo (made in Chile)","overview":"Sam returns to Chile from the USA after his parents divorce. Left with a sexually-abusive nanny, he makes friends with some other neglected kids: Isabel, whose mother suffers from depression after the disappearance of her father and brother, and Daniela whose mother is dead and whose father is an alcoholic. The teenagers get together to make a slasher film dealing with family issues, and finally confront their demons.","popularity":0.289,"poster_path":"/goIkqsj1mEdsqOrMQblnd2exbq8.jpg","release_date":"2001-01-01","title":"Te amo (made in Chile)","video":false,"vote_average":4.8,"vote_count":5,"character":"Madre de Samuel","credit_id":"5e4adbd24d0e8d048b152178","order":6,"media_type":"movie"},{"adult":false,"backdrop_path":"/wmm2LK4jMEfiEAQGZkif6rAyptQ.jpg","genre_ids":[53,27,80,18],"id":684047,"original_language":"es","original_title":"La Mamita","overview":"Karina is 51 years old and is a regular trucker on the north route. Due to mechanical problems, he stops for the first time at \"La Mamita\" restaurant. The owner and cook of the restaurant, Marta, 63, welcomes her as kindly as any of her customers. However, the accidental discovery of a human hand in the garbage makes Karina see that all the stories this cook tells her are nothing more than a premonition of her destiny.","popularity":0.071,"poster_path":"/1mA61cvW2oC8kjjzruK8UzMYbQE.jpg","release_date":"2020-01-13","title":"La Mamita","video":false,"vote_average":3.0,"vote_count":1,"character":"","credit_id":"5e713e22b1f68d0012db67ab","order":1,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":697093,"original_language":"es","original_title":"El 18 de los García","overview":"A couple moves from the rural area of the country to the city, looking for better live opportunities during times of unemployment and poverty, in which dreams seem far from coming true.","popularity":0.061,"poster_path":null,"release_date":"1983-11-03","title":"El 18 de los García","video":false,"vote_average":0.0,"vote_count":0,"character":"","credit_id":"5ea4a536ec455200213fb717","order":0,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18,12],"id":617451,"original_language":"es","original_title":"El último grumete","overview":"Alejandro Silva is a 16-years-old boy who decides to leave his home, to go in search of brother, who have gone missing for some time. He embarks on the school-ship \"Esmeralda\". The adventures that Alejandro lives on his trip in search of his brother will mark his passage to adulthood.","popularity":0.584,"poster_path":"/kdQJt7r7zUpgBvv7ytW22VRc3dX.jpg","release_date":"1983-12-25","title":"El último grumete","video":false,"vote_average":0.0,"vote_count":0,"character":"(voice)","credit_id":"5ec43ebf8e2e000021208b20","order":6,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":863209,"original_language":"es","original_title":"Insurrección","overview":"Jean is a young Haitian man who works doing house duties for a wealthy household, but his wishes for a quiet and dignified job become interrupted when his boss starts sexually abusing him. Jean will have to decide whether to quit his job and renounce the income to support his family or keep enduring the assaults.","popularity":1.005,"poster_path":"/xTURp8bsfHzfxUIpDFoZcU0o2bG.jpg","release_date":"2021-08-19","title":"Insurrección","video":false,"vote_average":0.0,"vote_count":0,"character":"","credit_id":"611e7a425437f5005de5e31f","order":2,"media_type":"movie"},{"adult":false,"backdrop_path":"/acIPvY3HabtXy2KnqKnqe9Cs3sm.jpg","genre_ids":[10766,18],"id":107227,"origin_country":["CL"],"original_language":"es","original_name":"Eres mi tesoro","overview":"A taxi driver takes the drive of her life; she meets the man who will change everything she had planned for her future, including her marriage to the man of her dreams.","popularity":17.378,"poster_path":"/ggZ2gayxB8Rl6qkWECrv4mdGUi6.jpg","first_air_date":"2015-07-19","name":"Eres mi tesoro","vote_average":2.0,"vote_count":1,"character":"Gabriela 'Gaby' Aldunate","credit_id":"601071ca0816c700407e4032","episode_count":174,"media_type":"tv"},{"adult":false,"backdrop_path":"/sFVoDlsFbvgRaHUY2fDc56S2zS8.jpg","genre_ids":[10766,35],"id":58854,"origin_country":["CL"],"original_language":"es","original_name":"Dos por uno","overview":"Ramiro on the verge of losing everything due to an economic crisis, makes the decision to impersonate Valentina Infante, the new executive of the Supermarket he used to worked on, while she recovers from severe car crash accident.","popularity":1.222,"poster_path":"/i25PJ5OzWATqQfMNU5zbEVhCrNn.jpg","first_air_date":"2013-03-11","name":"Dos por uno","vote_average":0.0,"vote_count":0,"character":"Isidora Goycochea","credit_id":"6011b79fcb80280041096e1c","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":"/o6KKirdK4WyXfnSTd3QRzHcZJat.jpg","genre_ids":[10767,10763],"id":114863,"origin_country":["CL"],"original_language":"es","original_name":"Mentiras verdaderas","overview":"Daily interviews discussing the guest's personal lives and national contingency.","popularity":403.889,"poster_path":"/lBm5uxFGU40Hz7wztTAcsvh6Ng9.jpg","first_air_date":"2011-10-11","name":"Mentiras verdaderas","vote_average":5.5,"vote_count":2,"character":"Self","credit_id":"602038b26dc5070040bd71c6","episode_count":2,"media_type":"tv"},{"adult":false,"backdrop_path":"/7Oy3bXsG81HlEl9Q3GOkTArFDRB.jpg","genre_ids":[],"id":120263,"origin_country":["CL"],"original_language":"es","original_name":"Pasapalabra","overview":"Game show in which every episode two contestants team with celebrities to play various games. A team's correct responses in these games score seconds, extending their contestant's time limit in the final game, known as 'el rosco'.","popularity":98.83,"poster_path":"/lKyZRf3jiUSH9Iz6PS8g303tRFk.jpg","first_air_date":"2018-01-07","name":"Pasapalabra","vote_average":2.0,"vote_count":1,"character":"Self","credit_id":"6047c8d95f622b004467cf3d","episode_count":3,"media_type":"tv"},{"adult":false,"backdrop_path":null,"genre_ids":[35],"id":108374,"origin_country":["CL"],"original_language":"es","original_name":"Los Cárcamo","overview":"The adventures of the friendly and talkative Cárcamo family, their friends and neighbors.","popularity":10.142,"poster_path":null,"first_air_date":"1998-08-18","name":"Los Cárcamo","vote_average":0.0,"vote_count":0,"character":"Josefa","credit_id":"6047f48bea37e0006e81893d","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":"/y0oV8E1vw3ETcj8ckLI78o6t7Rn.jpg","genre_ids":[10767],"id":120590,"origin_country":["CL"],"original_language":"es","original_name":"Viva la pipol","overview":"Contests, reporting segments and conversation with interesting guests. All done in a pleasant and down-to-earth way for all the Chilean family watching.","popularity":8.759,"poster_path":"/rePfpjLeOkYEfUR2rTUztyo6XGI.jpg","first_air_date":"2019-03-11","name":"Viva la pipol","vote_average":2.0,"vote_count":1,"character":"Self","credit_id":"604a66e554508d004399a8e8","episode_count":2,"media_type":"tv"},{"adult":false,"backdrop_path":"/pn36rbnaArX7y0O9Zac8gfQz0aJ.jpg","genre_ids":[10766,35,9648],"id":70861,"origin_country":["CL"],"original_language":"es","original_name":"Brujas","overview":"Beatriz married Vicente, her ideal man. The problem is that it was not only ideal for her, but for everyone else. Vicente dies in \"a night of passion\" from a heart attack, Beatriz's uncontrollable jealousy leads her to hires Dante, a poker player who will seduce the five suspects and by doing so, shed light on to the mystery.","popularity":31.702,"poster_path":"/p8ZY4zxgqMm1EIekApyc1VdTdVo.jpg","first_air_date":"2005-03-07","name":"Brujas","vote_average":3.0,"vote_count":2,"character":"Mercedes Salazar","credit_id":"606a3b371cc4ff00581c2c5c","episode_count":135,"media_type":"tv"},{"adult":false,"backdrop_path":"/9Bdba888ul2Qk0ALYJ6B9BYZ0Db.jpg","genre_ids":[10767],"id":53301,"origin_country":["CL"],"original_language":"es","original_name":"Vértigo","overview":"","popularity":20.768,"poster_path":"/5YAGO4huuHGB8f4X1G0wfy67QeB.jpg","first_air_date":"2003-03-13","name":"Vértigo","vote_average":2.0,"vote_count":1,"character":"Self","credit_id":"60a3246d8072980029ab7721","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":"/lKvhf7q32WMXJSPcZHgSzoa8Hjc.jpg","genre_ids":[10767],"id":128454,"origin_country":["CL"],"original_language":"es","original_name":"La noche es nuestra","overview":"","popularity":50.277,"poster_path":"/rYeIAxfin6VCDgLmY4drvt19T8P.jpg","first_air_date":"2018-01-08","name":"La noche es nuestra","vote_average":2.0,"vote_count":1,"character":"Self","credit_id":"60e77a5428723c0046bf7360","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":"/mX4RmaYarArJplcmno1ct8XGjEb.jpg","genre_ids":[],"id":128946,"origin_country":["CL"],"original_language":"es","original_name":"Siempre lunes","overview":"","popularity":9.736,"poster_path":"/uykTHpkSthGkgsUsPMOjzFekHB0.jpg","first_air_date":"1988-06-08","name":"Siempre lunes","vote_average":0.0,"vote_count":0,"character":"Self - Collaborator","credit_id":"60ea79939824c80021e05fd2","episode_count":12,"media_type":"tv"},{"adult":false,"backdrop_path":"/yL9Ks21LbRnxAlZlVhR89q85fMo.jpg","genre_ids":[10767],"id":119781,"origin_country":["CL"],"original_language":"es","original_name":"De tú a tú","overview":"Martín Cárcamo invites people of huge national and international relevance to his home to have a relaxed conversation, without fanfare but revealing and intimate.","popularity":21.461,"poster_path":"/lqNfmWQvRZzZgi8prCNuztI4szU.jpg","first_air_date":"2021-03-01","name":"De tú a tú","vote_average":2.0,"vote_count":1,"character":"Self","credit_id":"647a6906e323f300a7d5257a","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":"/9QPfSJPpbFrFmoNE6vcT1F6qXVJ.jpg","genre_ids":[10764],"id":96317,"origin_country":["CL"],"original_language":"es","original_name":"La divina comida","overview":"Four celebrities invite each other to their homes and compete to be the best host, where night after night they must cook for the other guests, who in turn will be both the judges and their rivals.","popularity":31.924,"poster_path":"/zjIflWNpZESUu2Bpx0op1Ogj7KI.jpg","first_air_date":"2016-07-09","name":"La divina comida","vote_average":4.0,"vote_count":2,"character":"Self - Contestant","credit_id":"5dee99adae3843001551033c","episode_count":2,"media_type":"tv"},{"adult":false,"backdrop_path":"/cL3UldOd6KVaXJpvTWGPEYGxk0.jpg","genre_ids":[35,18],"id":97745,"origin_country":["CL"],"original_language":"es","original_name":"El amor lo manejo yo","overview":"A wealthy woman falls in love with a passionate driver.","popularity":18.464,"poster_path":"/umk6JKmEZWKKvjcmbvY8xl6WSex.jpg","first_air_date":"2014-03-24","name":"El amor lo manejo yo","vote_average":5.0,"vote_count":1,"character":"Isabel Fuentes","credit_id":"5e1b97a5a6c104001383ec62","episode_count":149,"media_type":"tv"},{"adult":false,"backdrop_path":"/46qiZFUzPB3eZA6OXjLK6Tq0RJi.jpg","genre_ids":[35],"id":41843,"origin_country":["CL"],"original_language":"es","original_name":"Aquí mando yo","overview":"Diego and Sofía have agreed a special deal: while she goes to work, he will take care of the house and their daughters Antonella and Kiara, 24 hours a day.","popularity":13.537,"poster_path":"/547Q0Y8nYvIR7WkM0vXcrvQ5SPz.jpg","first_air_date":"2011-09-12","name":"Aquí mando yo","vote_average":2.0,"vote_count":1,"character":"Carmen Morales","credit_id":"5e1bac3da6c104001383efef","episode_count":160,"media_type":"tv"},{"adult":false,"backdrop_path":"/e2R0uOxllMoC316JaM8zPz6C4SV.jpg","genre_ids":[10766],"id":218776,"origin_country":["CL"],"original_language":"es","original_name":"Juego de ilusiones","overview":"","popularity":20.844,"poster_path":"/9gvZrKujFwnF3DJzmIKT3BFxLb8.jpg","first_air_date":"2023-01-16","name":"Juego de ilusiones","vote_average":2.0,"vote_count":1,"character":"Irene San Juan","credit_id":"63cc26009a6435008253d8cf","episode_count":163,"media_type":"tv"},{"adult":false,"backdrop_path":"/sQzci8TzkvmWs5v6u8na4vT0mov.jpg","genre_ids":[18],"id":101153,"origin_country":["CL"],"original_language":"es","original_name":"La Quintrala","overview":"Catalina de los Ríos y Lisperguer is a beautiful woman who captivated and intimidated men due to her extreme beauty and indomitable personality. Her nickname \"La Quintrala\" became a synonymous of fear at the time. The show goes deeper into all the differents facets of Catalina, from her affairs, the mistreatment of her employees, her revenges and her pacts with occult beings.","popularity":6.665,"poster_path":"/nwE04qp3xXpnXfsRzMs8PcndozZ.jpg","first_air_date":"1987-04-30","name":"La Quintrala","vote_average":0.0,"vote_count":0,"character":"Rufina","credit_id":"5e7fae272efe4e0018974828","episode_count":10,"media_type":"tv"},{"adult":false,"backdrop_path":null,"genre_ids":[80,18],"id":102818,"origin_country":["CL"],"original_language":"es","original_name":"Brigada Escorpión","overview":"The exploits of an investigative police group that from anonymity, solve intricate criminal cases.","popularity":6.92,"poster_path":null,"first_air_date":"1997-08-10","name":"Brigada Escorpión","vote_average":2.0,"vote_count":1,"character":"María Elvira Theodorakis","credit_id":"5eaa3189b7fbbd001d3ad28c","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":"/tihHL3n1HcvdFHvK0d6IDUECCQZ.jpg","genre_ids":[10767],"id":101903,"origin_country":["CL"],"original_language":"es","original_name":"Podemos hablar","overview":"Talk show in which six personalities from different fields (politics, entertainment, sports, among others), exchange opinions on various topics and personal experiences.","popularity":14.449,"poster_path":"/d1ViLa7rvZgwpiSKIb7sIG5sWjk.jpg","first_air_date":"2019-03-29","name":"Podemos hablar","vote_average":4.0,"vote_count":2,"character":"Self - Guest","credit_id":"5e95100487f3f200164989e0","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":null,"genre_ids":[10766,18,9648],"id":103680,"origin_country":["CL"],"original_language":"es","original_name":"La dama del balcón","overview":"A painting unleashes the riddle of three women from different worlds and times but with the same face. How can this be?","popularity":32.162,"poster_path":null,"first_air_date":"1986-01-02","name":"La dama del balcón","vote_average":2.0,"vote_count":1,"character":"Nora de Castaños / Regina Rey / Olga","credit_id":"5ec4339b81c7be001dbff995","episode_count":85,"media_type":"tv"},{"adult":false,"backdrop_path":null,"genre_ids":[10766,18],"id":106302,"origin_country":["CL"],"original_language":"es","original_name":"16","overview":"After the intense summer holidays, a new school year begins at the Antumapu school. It is the moment of reunion between classmates, teachers and school life. It is also the time to meet the newly arrived students and teachers. Series that explores themes such as bullying, bulimia, drugs, teenage pregancy, among others.","popularity":25.669,"poster_path":"/vTLSEghIpumaqFWALNruKPIYIZN.jpg","first_air_date":"2003-06-09","name":"16","vote_average":2.0,"vote_count":1,"character":"Mariana del Canto","credit_id":"5f17492d51e6ab0038ce63eb","episode_count":98,"media_type":"tv"},{"adult":false,"backdrop_path":null,"genre_ids":[10766,35],"id":45156,"origin_country":["CL"],"original_language":"es","original_name":"Amores de mercado","overview":"'Pelluco' Solís, a young lower-middle class waiter, crosses paths with Rodolfo Ruttenmeyer -a man who looks just like him- in an unfortunate accident that will change their lives forever.","popularity":17.073,"poster_path":"/ituWEMVsGPpvZzFLrxSIcj4udB9.jpg","first_air_date":"2001-08-06","name":"Amores de mercado","vote_average":5.0,"vote_count":3,"character":"Maitén García","credit_id":"5f1f72d6c525c40036391381","episode_count":103,"media_type":"tv"},{"adult":false,"backdrop_path":null,"genre_ids":[10766,18],"id":99469,"origin_country":["CL"],"original_language":"es","original_name":"Aquelarre","overview":"A series of tragedies will haunt the Patiño sisters after the surprising death of the family's patriarch.","popularity":14.416,"poster_path":"/xZZJEfdVYeTCtzoULzxWw9ziQk2.jpg","first_air_date":"1999-08-04","name":"Aquelarre","vote_average":2.0,"vote_count":1,"character":"Ivonne Garcés","credit_id":"5f53f79846f35400351a0f16","episode_count":4,"media_type":"tv"},{"adult":false,"backdrop_path":"/zAj2ioDc80Iqs39fIyPHrjqtcl7.jpg","genre_ids":[10766,18,9648],"id":90487,"origin_country":["CL"],"original_language":"es","original_name":"Amanda","overview":"Amanda is a young nurse who comes to work at the Santa Cruz family farm. But no one will suspect her true intentions: seek revenge.","popularity":41.455,"poster_path":"/q8rVNQ5HzOw15KGv0aEPgAXX7i4.jpg","first_air_date":"2016-11-22","name":"Amanda","vote_average":7.0,"vote_count":3,"character":"Catalina Minardi","credit_id":"5f2f1b019a358d00398fdb7b","episode_count":170,"media_type":"tv"},{"adult":false,"backdrop_path":null,"genre_ids":[10766,80,35],"id":99130,"origin_country":["CL"],"original_language":"es","original_name":"Peleles","overview":"Six men unfairly dismissed from their jobs, decide to take revenge and form an inexperienced band to rob the trucks of their old transport company. But what they ignore is that the new owner is one of the most dangerous mobsters of all South America.","popularity":16.72,"poster_path":"/hci8lJaJF4wYh5QZcPFwevMbUJe.jpg","first_air_date":"2011-07-26","name":"Pushovers","vote_average":1.5,"vote_count":2,"character":"Teresa Mendizaval","credit_id":"5f6d0cdc688cd0003522381c","episode_count":14,"media_type":"tv"},{"adult":false,"backdrop_path":"/qLel5eu7jsdQOTLY73kUvnoo2HZ.jpg","genre_ids":[35,18],"id":98430,"origin_country":["CL"],"original_language":"es","original_name":"Infieles","overview":"Erotic comedy series about infidelity in couples and the different situations that lead people to commit it. The episodes use as reasons, among others, serious sexual disagreement, simple use of a favorable moment without thinking about the consequences, habits or deteriorating or unpleasant attitudes, etc. Without ever losing humor and mischief.","popularity":36.413,"poster_path":"/z8SXWRQQoRGd7deGGKd3icrpDB8.jpg","first_air_date":"2005-07-07","name":"Infieles","vote_average":4.2,"vote_count":4,"character":"Yolanda","credit_id":"5f832bc841465c00381721c5","episode_count":1,"media_type":"tv"},{"adult":false,"backdrop_path":"/g0ffPxIuV3AHEkOtKtpyJryapO6.jpg","genre_ids":[10766,35],"id":95411,"origin_country":["CL"],"original_language":"es","original_name":"Gemelas","overview":"The story of 2 twin sisters separated at birth and raised in completely opposite worlds: Luchita Rivera and Dominga Vázquez de Acuña","popularity":42.996,"poster_path":"/gcWuq0iXpth9Le3RkQJ5xzjjp5F.jpg","first_air_date":"2019-08-04","name":"Gemelas","vote_average":2.0,"vote_count":1,"character":"Paquita Montiel","credit_id":"5fc1040725b955003c9b8b21","episode_count":154,"media_type":"tv"}],"crew":[{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":697093,"original_language":"es","original_title":"El 18 de los García","overview":"A couple moves from the rural area of the country to the city, looking for better live opportunities during times of unemployment and poverty, in which dreams seem far from coming true.","popularity":0.061,"poster_path":null,"release_date":"1983-11-03","title":"El 18 de los García","video":false,"vote_average":0.0,"vote_count":0,"credit_id":"5ea4a72218b751001d380735","department":"Writing","job":"Screenplay","media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":618400,"original_language":"es","original_title":"Hechos consumados","overview":"The extreme poverty produced by unbridled neoliberalism in Pinochet’s Chile is an allegory for the disappeared. Based on a play by Juan Radrigán.","popularity":2.54,"poster_path":"/uoci8sQJWtqLJIYZKE4SH6CO2uC.jpg","release_date":"1986-11-21","title":"Hechos consumados","video":false,"vote_average":0.0,"vote_count":0,"credit_id":"5f8f3254383df20035a93b17","department":"Writing","job":"Writers' Assistant","media_type":"movie"}]}}
96 'Content-Type' => 'application/json;charset=utf-8',
97 'Authorization' => sprintf('Bearer %s', Configurator::$instance->get('tmdb'))
98 ];
99
100 // Append language preference to headers to avoid adult content
101 $headers['Accept-Language'] = 'en-US'; // Example: Set language preference to English
102
103 // Make the GET request with headers
104 $resp = EasyCurl::setHeaders($headers)->get(...$args);
105
106 // Check if response status is not 200 OK
107 if ($resp->getStatus() != 200) {
108 throw new TmdbClientException('Tmdb Client Error: ' . $resp->getBody(), $resp->getStatus());
109 }
110
111 // Check for adult content in response (assuming TMDB API supports such filtering)
112 $jsonResponse = json_decode($resp->getBody(), true);
113
114
115 return $resp;
116 }
117
118
119 public function getGenre(): array
120 {
121 return $this->request('genre/' . $this->getType() . '/list')['genres'] ?? [];