Filmografías

hace 10 horas · Actualizado hace 41 minutos

<style>
.filmoteca-accordion * {
  box-sizing: border-box;
}
.filmoteca-accordion {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 1000px;
  margin: 0 auto;
  color: #222;
}
.filmoteca-accordion h2.fa-seccion {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  padding: 14px 20px;
  margin: 18px 0 8px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.3em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  user-select: none;
}
.filmoteca-accordion h2.fa-seccion:hover {
  background: linear-gradient(135deg, #16213e, #0f3460);
}
.filmoteca-accordion h2.fa-seccion::after {
  content: "+";
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s;
}
.filmoteca-accordion h2.fa-seccion.fa-activo::after {
  content: "−";
}
.filmoteca-accordion .fa-contenido-seccion {
  display: none;
  padding: 5px 0 15px 0;
}
.filmoteca-accordion .fa-contenido-seccion.fa-activo {
  display: block;
}
.filmoteca-accordion h3.fa-director {
  background: #e8eef7;
  color: #16213e;
  padding: 10px 16px;
  margin: 6px 0 4px 0;
  border-left: 4px solid #e94560;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  user-select: none;
}
.filmoteca-accordion h3.fa-director:hover {
  background: #d4dfef;
}
.filmoteca-accordion h3.fa-director::after {
  content: "▸";
  font-size: 1.1em;
  transition: transform 0.3s;
}
.filmoteca-accordion h3.fa-director.fa-activo::after {
  content: "▾";
}
.filmoteca-accordion ul.fa-peliculas {
  display: none;
  list-style: none;
  padding: 6px 0 10px 20px;
  margin: 0;
}
.filmoteca-accordion ul.fa-peliculas.fa-activo {
  display: block;
}
.filmoteca-accordion ul.fa-peliculas li {
  padding: 4px 8px;
  border-bottom: 1px dashed #ddd;
  font-size: 0.95em;
  line-height: 1.4;
}
.filmoteca-accordion ul.fa-peliculas li:last-child {
  border-bottom: none;
}
.filmoteca-accordion ul.fa-peliculas li::before {
  content: "🎬 ";
  margin-right: 4px;
}
.fa-controles {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filmoteca-accordion .fa-buscador {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  font-size: 1em;
  border: 2px solid #16213e;
  border-radius: 6px;
  outline: none;
}
.filmoteca-accordion .fa-buscador:focus {
  border-color: #e94560;
}
.fa-btn-orden {
  padding: 10px 16px;
  background: #16213e;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95em;
  transition: background 0.2s;
  white-space: nowrap;
}
.fa-btn-orden:hover {
  background: #e94560;
}
.filmoteca-accordion .fa-contador {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 10px;
  font-style: italic;
}
@media (max-width: 600px) {
  .filmoteca-accordion h2.fa-seccion { font-size: 1.1em; padding: 12px 14px; }
  .filmoteca-accordion h3.fa-director { font-size: 0.98em; padding: 8px 12px; }
  .fa-btn-orden { width: 100%; text-align: center; }
}
</style>

<div class="filmoteca-accordion" id="filmotecaApp">
  <div class="fa-controles">
    <input type="text" class="fa-buscador" id="faBuscador" placeholder="🔍 Buscar película o director...">
   
  </div>
  <div class="fa-contador" id="faContador"></div>
  <div id="faContenido"></div>
</div>

<script>
(function(){
  const datos = {
    "A - G": {
      "Abel Ferrara": ["The Funeral (1996)"],
      "Aki Kaurismäki": ["El otro lado de la esperanza (2017)","Kauas pilvet karkaavat - Nubes pasajeras (1996)","La vie de bohéme (1991)","Leningrad Cowboys Meet Moses (1994)","Luces al atardecer (2006)","Tulitikutehtaan tyttö - La chica de la fábrica de cerillas (1990)","Un hombre sin pasado (2002)","Varjoja paratiisissa - Sombras en el paraíso (1986)"],
      "Akira Kurosawa": ["Los siete samuráis (1954)","Akahige - Barbarroja (1965)","Dersu Uzala (1975)","Ikuru - Vivir (1952)","Los canallas duermen en paz (1960)"],
      "Alain Tanner": ["Dans la ville blanche - En la ciudad blanca (1983)","El diario de Lady M. (1992)","Jonás, que cumplirá los 25 en el año 2000 (1976)","La salamandre - La salamandra (1971)","Les années lumière - A años luz (1981)","Messidor (1979)"],
      "Alexander Mackendrick": ["No Hagan Olas (1967)","A High Wind in Jamaica - Viento en las velas (1965)","El quinteto de la muerte (1955)","Mandy (1952)","Sammy Going South (1963)","The Maggie - La bella Maggie (1954)","Sweet Smell Of Success - Chantage en Broadway (1957)","The Devils Disciple - El Discípulo del Diablo (1959)","The Man in the White Suit (1951)","Whisky Galore (1949)"],
      "Alexander Payne": ["Downsizing - Una vida a lo grande (2017)","Sideways - Entre copas (2004)","The Holdovers - Los que se quedan (2023)"],
      "Alfred Hitchcock": ["Blackmail - Chantaje (1929)","Dial M For Murder - Crimen Perfecto (1954)","Family Plot (1976)","Foreign Correspondent - Enviado Especial (1940)","Frenzy - Frenesí (1972)","Hitchcock Truffaut (2015)","I Confess - Yo Confieso (1953)","Jamaica Inn - La Posada de Jamaica (1939)","Lifeboat - Náufragos (1944)","Marnie - Marnie la Ladrona (1964)","North By Northwest - Con la muerte en los talones (1959)","Notorious - Encadenados (1946)","Number 17 (1932)","Psycho - Psicosis (1960)","Rear Window - La ventana indiscreta (1954)","Rebecca (1940)","Rope - La soga (1948)","Sabotage (1936)","Saboteur - Sabotaje (1942)","Shadow Of A Doubt - La sombra de una duda (1943)","Spellbound - Recuerda (1945)","Stage Fright - Pánico en la escena (1950)","Strangers on a Train - Extraños en un tren (1951)","Suspicion - Sospecha (1941)","The 39 Steps - 39 escalones (1935)","The Birds - Los pájaros (1963)","The Girl Was Young - Inocencia y Juventud (1937)","The Man Who Knew Too Much (1934)","The Man Who Knew Too Much (1956)","The Paradine Case - El proceso Paradine (1947)","The Trouble With Harry (1955)","The Wrong Man - Falso culpable (1956)","To Catch a Thief - Atrapa a un ladrón (1955)","Torn Curtain - Cortina rasgada (1966)","Under Capricorn - Atormentada (1949)","Vertigo - De entre los muertos (1958)"],
      "André de Toth": ["Carson City (1952)","Crime Wave - Ciudad en tinieblas (1953)","Dark Waters - Aguas turbias (1944)","Day of the Outlaw (1959)","Last of the Comanches (1953)","Los crímenes del museo de cera (1953)","Man in the Saddle (1951)","Play Dirty - Mercenarios sin gloria (1968)","Ramrod (1947)","Riding Shotgun (1954)","Springfield Rifle (1952)","The Bounty Hunter (1954)","The Indian Fighter (1955)","The Pitfall (1948)","The Stranger Wore a Gun (1953)"],
      "Anthony Mann": ["Bend of the River (1952)","Border Incident (1949)","Cimarron (1960)","Devil's Doorway (1950)","El Cid (1961)","God's Little Acre (1958)","Man of the West (1958)","Men in War (1957)","Railroaded! (1947)","Raw Deal (1948)","Side Street (1950)","The Fall of the Roman Empire (1964)","The Far Country (1954)","The Furies (1950)","The Great Flamarion (1945)","The Heroes of Telemark (1965)","The Last Frontier (1955)","The Man from Laramie (1955)","The Naked Spur (1953)","The Tall Target (1951)","The Tin Star (1957)","Thunder Bay (1953)","Winchester '73 (1950)"],
      "Arthur Penn": ["Night Moves - La noche se mueve (1975)","The Left Handed Gun - El zurdo (1958)"],
      "Atom Egoyan": ["Cautivos (2014)","Exotica (1994)","Felicia's Journey (1999)","Remember (2015)","The Adjuster (1991)","Where the truth lies (2005)"],
      "Billy Wilder": ["A Foreign Affair - Berlín Occidente (1948)","Ace in the Hole - El gran carnaval (1951)","Avanti! (1972)","Double Indemnity - Perdición (1944)","Fedora (1978)","Five Graves to Cairo (1943)","Irma la Douce (1963)","Kiss Me, Stupid (1964)","Love in the Afternoon - Ariane (1957)","Mauvaise Graine (1934)","One, Two, Three (1961)","Sabrina (1954)","Some Like It Hot (1959)","Stalag 17 (1953)","Sunset Boulevard (1950)","The Apartment (1960)","The Fortune Cookie (1966)","The Front Page (1974)","The Lost Weekend (1945)","The Major and the Minor (1942)","The Private Life of Sherlock Holmes (1970)","The Seven Year Itch (1955)","Witness for the Prosecution (1957)"],
      "Blake Edwards": ["The Great Race (1965)","A Shot in the Dark (1964)","Days of Wine and Roses (1962)","Experiment in Terror (1962)","Victor Victoria (1982)","What Did you Do in the War, Daddy (1966)"],
      "Brian De Palma": ["Blow Out (1981)","Domino (2020)","Mission to Mars (2000)","Ojos de serpiente (1998)","Phantom of the Paradise (1974)","Scarface (1983)","Sisters (1973)","Carlito's Way (1993)","Dressed to Kill (1980)","Raising Cain (1992)","Los intocables de Eliot Ness (1987)","Obsession (1976)","The Fury (1978)"],
      "Budd Boetticher": ["Buchanan Rides Alone (1958)","Decision at Sundown (1957)","The Rise and Fall of Legs Diamond (1960)","Westbound (1959)","Comanche Station (1960)","Ride Lonesome (1959)","Seminole (1953)","Seven Men from Now (1956)","The Killer Is Loose (1956)","The Tall T (1957)"],
      "Cecil B. DeMille": ["North West Mounted Police (1940)","Reap the Wild Wind (1942)","The Plainsman (1936)","Union Pacific (1939)"],
      "Charles Chaplin": ["City Lights (1931)","El Gran Dictador (1940)","Monsieur Verdoux (1947)","The Gold Rush (1925)","A King in New York (1957)","A Woman of Paris (1923)"],
      "Clint Eastwood": ["Licencia para matar (1975)","J. Edgar (2011)","A Perfect World (1993)","American Sniper (2014)","Bird (1988)","Blood Work (2002)","Breezy (1973)","Bronco Billy (1980)","Cazador blanco, corazón negro (1990)","Changeling (2008)","Cry Macho (2021)","Escalofrío en la noche (1971)","Flags of Our Fathers (2006)","Gran Torino (2008)","Heartbreak Ridge (1986)","Hereafter (2010)","High Plains Drifter (1973)","Honkytonk Man (1982)","Invictus (2009)","Jersey Boys (2014)","Juror #2 (2024)","Letters From Iwo Jima (2006)","Midnight in the Garden of Good and Evil (1997)","Million Dollar Baby (2004)","Mula (2019)","Mystic River (2003)","Pale Rider (1985)","Richard Jewell (2019)","Space Cowboys (2000)","Sully (2016)","The 15-17 to Paris (2018)","The Bridges of Madison County (1995)","The Gauntlet (1977)","The Outlaw Josey Wales (1976)","The Rookie (1990)","True Crime (1999)","Unforgiven (1992)"],
      "Coen Brothers": ["Blood Simple (1984)","Burn After Reading (2008)","Fargo (1996)","Miller's Crossing (1990)","The Ballad of Buster Scruggs (2018)","The Big Lebowski (1998)"],
      "Costa Gavras": ["Adults in the Room (2019)","Amen (2002)","Compartiment tueurs (1965)","Le capital (2012)","Z (1969)"],
      "David Cronenberg": ["Crash (1996)","eXistenZ (1999)","La mosca (1986)","Maps to the Stars (2014)","Naked Lunch (1991)","Shivers (1975)","The Dead Zone (1983)","The Shrouds (2024)","A History of Violence (2005)","Dead Ringers (1988)","Eastern Promises (2007)","The Brood (1979)","Videodrome (1983)"],
      "David Fincher": ["Alien 3 (1992)","El curioso caso de Benjamin Button (2008)","Fight Club (1999)","Mank (2020)","Millennium (2011)","Panic Room (2002)","Perdida (2014)","Seven (1995)","The Game (1997)","The Killer (2023)","The Social Network (2010)","Zodiac (2007)"],
      "David Lean": ["Amigos apasionados (1949)","El déspota (1953)","Breve encuentro (1945)","Hobson's Choice (1954)","In Which We Serve (1942)","Summertime (1955)","The Bridge on the River Kwai (1957)","The Sound Barrier (1952)","This Happy Breed (1944)"],
      "David Lynch": ["Dune (1984)","Blue Velvet (1986)","Mulholland Dr. (2001)","The Elephant Man (1980)"],
      "David Mamet": ["Oleanna (1994)","Casa de juegos (1987)","Glengarry Glen Ross (1992)","State and Main (2000)","The Spanish Prisoner (1997)","The Winslow Boy (1999)","Things Change (1988)"],
      "Delmer Daves": ["3:10 to Yuma (1957)","Broken Arrow (1950)","Cowboy (1958)","Dark Passage (1947)","Destination Tokyo (1943)","Drum Beat (1954)","Jubal (1956)","Lover Come Back (1961)","Rome Adventure (1962)","Susan Slade (1961)","The Badlanders (1958)","The Hanging Tree (1959)","The Last Wagon (1956)","The Red House (1947)","Treasure of the Golden Condor (1953)"],
      "Don Siegel": ["Charley Varrick (1973)","Coogan's Bluff (1968)","Death of a Gunfighter (1969)","Dirty Harry (1971)","Fuga de Alcatraz (1979)","Invasion of the Body Snatchers (1956)","Madigan (1968)","Private Hell 36 (1954)","The Black Windmill (1974)","The Killers (1964)","The Lineup (1958)","The Shootist (1976)","The Verdict (1946)"],
      "Douglas Sirk": ["Hitler's madman (1943)","Never Say Goodbye (1956)","The Tarnished Angels (1957)","A Scandal in Paris (1946)","All I Desire (1953)","All That Heaven Allows (1955)","Imitation of Life (1959)","Lured (1947)","Magnificent Obsession (1954)","Sleep, My Love (1948)","There's Always Tomorrow (1955)","Thunder on the Hill (1951)"],
      "Edmund Goulding": ["Dark Victory (1939)","Grand Hotel (1932)","Nightmare Alley (1947)","The Dawn Patrol (1938)","Mister 880 (1950)","The Constant Nymph (1943)","The Razor's Edge (1946)"],
      "Edward Dmytryk": ["Alvarez Kelly (1966)","Bluebeard (1972)","Broken Lance (1954)","Cornered (1945)","Mirage (1965)","Murder My Sweet (1944)","Raintree County (1957)","The Caine Mutiny (1954)","The Carpetbaggers (1963)","The Mountain (1956)","The Sniper (1952)","The Young Lions (1958)","Warlock (1959)"],
      "Elia Kazan": ["La Barrera Invisible (1947)","On the Waterfront (1954)","A Streetcar Named Desire (1951)","A Tree Grows in Brooklyn (1945)","America, America (1963)","Boomerang (1947)","The Arrangement (1973)","Wild River (1960)"],
      "Ernst Lubitsch": ["Broken Lullaby (1932)","El Pecado de Cluny Brown (1946)","Ángel (1937)","A Royal Scandal (1945)","Bluebeard's Eighth Wife (1938)","Design for Living (1933)","Heaven Can Wait (1943)","If I Had a Million (1932)","Ninotchka (1939)","One Hour With You (1932)","The Marriage Circle (1923)","The Merry Widow (1934)","The Shop Around the Corner (1940)","To Be or Not To Be (1942)","Trouble In Paradise (1932)"],
      "Francis Ford Coppola": ["Bram Stoker's Dracula (1992)","The Conversation (1974)","The Godfather (1972)","The Godfather Part II (1974)","The Godfather Part III (1990)","THX 1138 (1971)"],
      "Frank Borzage": ["The Mortal Storm (1940)","Moonrise (1948)","Strange Cargo (1940)","Three Comrades (1938)"],
      "Frank Capra": ["American Madness (1932)","Arsenic and Old Lace (1944)","It Happened One Night (1934)","It's a Wonderful Life (1946)","Lost Horizon (1937)","Meet John Doe (1941)","Mr. Deeds Goes to Town (1936)","Mr. Smith Goes to Washington (1939)","Platinum Blonde (1931)","You Can't Take It With You (1938)"],
      "Fred Zinnemann": ["Act of Violence (1948)","From Here to Eternity (1953)","High Noon (1952)"],
      "Fritz Lang": ["Beyond a Reasonable Doubt (1956)","Clash by Night (1952)","Cloak and Dagger (1946)","Der Tiger von Eschnapur (1959)","Die Nibelungen (1924)","Fury (1936)","Hangmen Also Die (1943)","House by the River (1950)","Human Desire (1954)","M (1931)","Man Hunt (1941)","Metropolis (1927)","Ministry of Fear (1944)","Scarlet Street (1945)","Secret Beyond the Door (1947)","Spione (1928)","The Big Heat (1953)","The Indian Tomb (1959)","The Return of Frank James (1940)","The Woman in the Window (1944)","Western Union (1941)","While the City Sleeps (1956)","You and Me (1938)","You Only Live Once (1937)"],
      "George Cukor": ["A Life of Her Own (1950)","A Star Is Born (1954)","A Woman's Face (1941)","Adam's Rib (1949)","Born Yesterday (1950)","Camille (1936)","David Copperfield (1935)","Holiday (1938)","Keeper of the Flame (1942)","Little Women (1933)","Pat and Mike (1952)","Sylvia Scarlett (1935)","The Philadelphia Story (1940)","The Women (1939)"],
      "George Stevens": ["Penny Serenade (1941)","Raíces profundas (1953)","A Place in the Sun (1951)","Alice Adams (1935)","Giant (1956)","Gunga Din (1939)","I Remember Mama (1948)","Shane (1953)","Swing Time (1936)","Woman of the Year (1942)"],
      "Gordon Douglas": ["Chuka (1967)","El gran robo de Missouri (1951)","Kiss Tomorrow Goodbye (1950)","Only the Valiant (1951)","Rio Conchos (1964)","Stagecoach (1966)","The Charge at Feather River (1953)","The Iron Mistress (1952)","The Nevadan (1950)","Them! (1954)"],
      "Guillermo del Toro": ["Frankenstein (2025)","Pinocho (2022)"]
    },
    "H - N": {
      "Henry Hathaway": ["23 Paces to Baker Street (1956)","5 Card Stud (1968)","Desert Fox (1951)","Diplomatic Courier (1952)","Fourteen Hours (1951)","Garden of Evil (1954)","Kiss of Death (1947)","Nevada Smith (1966)","Niagara (1953)","North to Alaska (1960)","Rawhide (1951)","Seven Thieves (1960)","The Dark Corner (1946)","The Shepherd of the Hills (1941)","The Sons of Katie Elder (1965)","True Grit (1969)"],
      "Henry King": ["The Black Swan (1942)","The Gunfighter (1950)","Love Is a Many-Splendored Thing (1955)","The Bravados (1958)"],
      "Howard Hawks": ["Come and Get It (1936)","Rio Lobo (1970)","The Criminal Code (1931)","The Outlaw (1943)","Air Force (1943)","Ball of Fire (1941)","Barbary Coast (1935)","Bringing Up Baby (1938)","El Dorado (1966)","Gentlemen Prefer Blondes (1953)","Hatari (1962)","His Girl Friday (1940)","I Was a Male War Bride (1949)","Land of the Pharaohs (1955)","Mans Favorite Sport (1964)","Monkey Business (1952)","Only Angels Have Wings (1939)","Red River (1948)","Rio Bravo (1959)","Scarface (1932)","Sergeant York (1941)","The Big Sky (1952)","The Big Sleep (1946)","The Road to Glory (1936)","The Thing from Another World (1951)","To Have and Have Not (1944)","Twentieth Century (1934)"],
      "Jacques Tourneur": ["Anne of the Indies (1951)","Berlín Exprés (1948)","Canyon Passage (1946)","Cat People (1942)","Circle of Danger (1951)","Days of Glory (1944)","I Walked with a Zombie (1943)","Night of the Demon (1957)","Nightfall (1956)","Out of the Past (1947)","Stars in My Crown (1950)","The City Under the Sea (1964)","The Comedy of Terrors (1963)","The Leopard Man (1943)","Wichita (1955)"],
      "Jean-Pierre Melville": ["Le Cercle Rouge (1970)","Le Doulos (1962)","The Silence of the Sea (1949)"],
      "Jean Renoir": ["La Bête Humaine (1938)","La Règle du Jeu (1939)","Swamp Water (1941)","The Southerner (1945)","This Land is Mine (1943)"],
      "John Carpenter": ["Assault on Precinct 13 (1976)","Christine (1983)","Escape from New York (1981)","Halloween (1978)","Memoirs of an Invisible Man (1992)","The Fog (1980)","The Ward (2010)","They Live (1988)","Vampires (1998)","The Thing (1982)","Village of the Damned (1995)"],
      "John Ford": ["3 Bad Men (1926)","Cameo Kirby (1923)","The Iron Horse (1924)","Drums Along the Mohawk (1939)","How Green Was My Valley (1941)","The Grapes of Wrath (1940)","The Informer (1935)","The Stagecoach (1939)","Young Mr. Lincoln (1939)","Fort Apache (1948)","My Darling Clementine (1946)","Rio Grande (1950)","She Wore a Yellow Ribbon (1949)","The Quiet Man (1952)","The Searchers (1956)","They Were Expendable (1945)","Wagon Master (1950)","7 Women (1966)","Cheyenne Autumn (1964)","The Man Who Shot Liberty Valance (1962)","Two Rode Together (1961)"],
      "John Frankenheimer": ["All Fall Down (1962)","Birdman of Alcatraz (1962)","Dead Bang (1989)","French Connection 2 (1975)","Grand Prix (1966)","Seconds (1966)","Seven Days in May (1964)","The Manchurian Candidate (1962)","The Train (1964)"],
      "John Huston": ["Beat The Devil (1953)","Fat City (1972)","Heaven Knows, Mr. Allison (1957)","Key Largo (1948)","Moby Dick (1956)","The African Queen (1951)","The Asphalt Jungle (1950)","The Dead (1987)","The MacKintosh Man (1973)","The Maltese Falcon (1941)"],
      "John Sturges": ["Bad Day at Black Rock (1955)","Hour of the Gun (1967)","Last Train from Gun Hill (1959)","Gunfight at the O.K. Corral (1957)","Jeopardy (1953)","The Eagle Has Landed (1976)","The Great Escape (1963)","The Magnificent Seven (1960)"],
      "Joseph L. Mankiewicz": ["Cleopatra (1963)","A Letter to Three Wives (1949)","All About Eve (1950)","Dragonwyck (1946)","Guys and Dolls (1955)","House of Strangers (1949)","No Way Out (1950)","The Barefoot Contessa (1954)","The Ghost and Mrs Muir (1947)"],
      "Joseph Losey": ["Boom (1968)","M (1951)","Monsieur Klein (1976)","The Prowler (1951)","The Servant (1963)"],
      "Kathryn Bigelow": ["A House of Dynamite (2025)","K-19 The Widowmaker (2002)","Point Break (1991)","Strange Days (1995)","The Hurt Locker (2008)","Zero Dark Thirty (2012)"],
      "Ken Loach": ["I, Daniel Blake (2016)","Sorry We Missed You (2019)","Sweet Sixteen (2002)","The Angels' Share (2012)","The Wind that Shakes the Barley (2006)"],
      "King Vidor": ["Duel in the Sun (1946)","Man Without a Star (1955)","Stella Dallas (1937)","Solomon and Sheba (1951)"],
      "Luis Buñuel": ["Abismos de pasión (1954)","Belle de jour (1967)","El ángel exterminador (1962)","Ese oscuro objeto del deseo (1977)","Robinson Crusoe (1954)","Tristana (1970)","Un perro andaluz (1929)","Viridiana (1961)"],
      "Martin Scorsese": ["Casino (1995)","El Lobo de Wall Street (2013)","New York, New York (1977)","Silencio (2016)","The Departed (2006)","The Irishman (2019)","Uno de los Nuestros (1990)","Cape Fear (1991)","Gangs of New York (2002)","Mean Streets (1973)","The Age of Innocence (1993)","The Color of Money (1986)"],
      "Michael Curtiz": ["20,000 Years in Sing Sing (1932)","Casablanca (1942)","Dodge City (1939)","The Adventures of Robin Hood (1938)","The Breaking Point (1950)","The Charge of the Light Brigade (1936)","The Comancheros (1961)","The Egyptian (1954)","Virginia City (1940)","Yankee Doodle Dandy (1942)"],
      "Michael Haneke": ["Amour (2012)","Benny's Video (1992)","Der siebente Kontinent (1989)","Funny Games (1997)","La Pianista (2001)"],
      "Michael Mann": ["El Dilema (1999)","Heat (1995)","Manhunter (1986)","Thief (1981)"],
      "Miloš Forman": ["Alguien voló sobre el nido del cuco (1975)","Amadeus (1984)","Ragtime (1981)"],
      "Nicholas Ray": ["Bitter Victory (1957)","In a Lonely Place (1950)","Johnny Guitar (1954)","Knock on Any Door (1949)","Rebel Without a Cause (1955)","Run for Cover (1955)","The Savage Innocents (1960)","They Live by Night (1948)"]
    },
    "O - S": {
      "Orson Welles": ["Citizen Kane (1941)","Mr. Arkadin (1955)","Othello (1952)","The Lady from Shanghai (1947)","The Magnificent Ambersons (1942)","The Stranger (1946)","The Trial (1962)","Touch of Evil (1958)","Falstaff (1965)"],
      "Otto Preminger": ["Primera Victoria (1965)","Advise & Consent (1962)","Anatomy of a Murder (1959)","Angel Face (1952)","Bonjour Tristesse (1958)","Bunny Lake Is Missing (1965)","Daisy Kenyon (1947)","Fallen Angel (1945)","Forever Amber (1947)","Hurry Sundown (1967)","Laura (1944)","River of No Return (1954)","The Court-Martial of Billy Mitchell (1955)","Where The Sidewalk Ends (1950)","Whirlpool (1949)"],
      "Paul Schrader": ["Affliction (1997)","First Reformed (2018)","Master Gardener (2022)","Hardcore (1979)","Light Sleeper (1992)"],
      "Paul Verhoeven": ["Delicias turcas (1973)","El Cuarto Hombre (1983)","El Libro Negro (2018)","Elle (2016)","Starship Troopers (1997)","Basic Instinct (1992)"],
      "Quentin Tarantino": ["Jackie Brown (1997)","Kill Bill Vol.1 (2003)","Kill Bill Vol.2 (2004)","Once Upon a Time in... Hollywood (2019)","Reservoir Dogs (1992)"],
      "Raoul Walsh": ["A Distant Trumpet (1964)","Battle Cry (1955)","Cheyenne (1947)","Dark Command (1940)","Gun Fury (1953)","Pursued (1947)","Silver River (1948)","The Big Trail (1930)","The King and Four Queens (1956)","The Thief of Bagdad (1924)","Along the Great Divide (1951)","Colorado Territory (1949)","Distant Drums (1951)","Gentleman Jim (1942)","High Sierra (1941)","Objective Burma! (1945)","The Naked and the Dead (1958)","The Tall Men (1955)","The World in His Arms (1952)","They Died with Their Boots On (1941)","White Heat (1949)"],
      "Richard Brooks": ["Bite the Bullet (1975)","Blackboard Jungle (1955)","Cat on a Hot Tin Roof (1958)","Elmer Gantry (1960)","Lord Jim (1965)","The Catered Affair (1956)","The Last Hunt (1956)"],
      "Richard Fleischer": ["20,000 Leagues Under the Sea (1954)","Armored Car Robbery (1950)","Blind Terror (1971)","Compulsion (1959)","Fantastic Voyage (1966)","Mandingo (1975)","Narrow Margin (1952)","Soylent Green (1973)","The Boston Strangler (1968)","10 Rillington Place (1971)","The New Centurions (1972)","The Vikings (1958)","Tora! Tora! Tora! (1970)","Violent Saturday (1955)"],
      "Richard Linklater": ["Blue Moon (2025)","Hit Man (2023)","Nouvelle Vague (2025)","Last Flag Flying (2017)"],
      "Ridley Scott": ["Black Hawk Down (2001)","Blade Runner (1982)","Gladiator (2000)","The Duellists (1977)","The Counselor (2013)"],
      "Robert Aldrich": ["Apache (1954)","Doce del patíbulo (1967)","Hustle (1975)","What Ever Happened to Baby Jane? (1962)","The Flight of the Phoenix (1965)","All the Marbles (1981)","Attack! (1956)","Autumn Leaves (1956)","Emperor of the North Pole (1973)","Hush Hush Sweet Charlotte (1964)","Kiss Me Deadly (1955)","Ten Seconds to Hell (1959)","The Garment Jungle (1957)","The Grissom Gang (1971)","The Last Sunset (1961)","Ulzana's Raid (1972)","Vera Cruz (1954)"],
      "Robert Altman": ["McCabe and Mrs. Miller (1971)","California Split (1974)","Cookie's Fortune (1999)","M.A.S.H. (1970)","The Long Goodbye (1973)"],
      "Robert Siodmak": ["Criss Cross (1949)","Cry of the City (1948)","La Escalera de Caracol (1945)","Phantom Lady (1944)","The Dark Mirror (1946)","The Killers (1946)","The Spiral Staircase (1945)","The Strange Affair of Uncle Harry (1945)"],
      "Robert Wise": ["Blood on the Moon (1952)","Criminal Court (1946)","Executive Suite (1954)","The Curse of the Cat People (1944)","The Haunting (1963)","The Sound of Music (1965)","I Want to Live! (1958)","Odds Against Tomorrow (1959)","Run Silent Run Deep (1958)","Somebody Up There Likes Me (1956)","The Captive City (1952)","The Set-Up (1949)","Ultimátum a la Tierra (1951)","Until They Sail (1957)"],
      "Roman Polanski": ["Carnage (2011)","Chinatown (1974)","Oliver Twist (2005)","The Tenant (1976)","Venus In Fur (2013)","Bitter Moon (1992)","Cul de Sac (1966)","Dance of the Vampires (1967)","Frantic (1988)","La muerte y la doncella (1994)","Repulsion (1965)"],
      "Sam Peckinpah": ["Straw Dogs (1971)","The Ballad of Cable Hogue (1970)","The Killer Elite (1975)","The Osterman Weekend (1983)","Bring Me the Head of Alfredo Garcia (1974)","Cross of Iron (1977)","Major Dundee (1965)","Pat Garrett & Billy the Kid (1973)","Ride the High Country (1962)","The Getaway (1972)","The Wild Bunch (1969)"],
      "Samuel Fuller": ["Pickup on South Street (1953)","Street of No Return (1989)","The Big Red One (1980)","Forty Guns (1957)","House of Bamboo (1955)","Merrill's Marauders (1962)","Park Row (1952)","Shock Corridor (1963)","The Naked Kiss (1964)","Underworld U.S.A. (1961)"],
      "Sergio Leone": ["Hasta que llegó su hora (1968)","La muerte tenía un precio (1965)","Once Upon A Time In America (1984)","The Good, the Bad, and the Ugly (1966)"],
      "Sidney Lumet": ["12 Angry Men (1957)","Murder on the Orient Express (1974)","The Offence (1973)","Before the Devil Knows You're Dead (2007)","Fail-Safe (1964)","Long Day's Journey Into Night (1962)","Network (1976)","Prince of the City (1981)","Serpico (1973)","The Deadly Affair (1966)","The Fugitive Kind (1960)","The Verdict (1982)"],
      "Sidney Pollack": ["Danzad, danzad malditos (1969)","Havana (1990)","Out Of Africa (1985)","The Electric Horseman (1979)","Tootsie (1982)","Yakuza (1974)","Absence of Malice (1981)","Jeremiah Johnson (1972)","The Scalphunters (1968)","The Way We Were (1973)","Three Days of the Condor (1975)"],
      "Stanley Donen": ["Funny Face (1957)","Indiscreet (1958)","On the Town (1949)","Royal Wedding (1951)","Saturn 3 (1980)","Arabesque (1966)","Charade (1963)","It's Always Fair Weather (1955)","Singin' in the Rain (1952)","The Grass Is Greener (1960)","Two for the Road (1967)"],
      "Stanley Kubrick": ["Barry Lyndon (1975)","Killer's Kiss (1955)","Espartaco (1960)","La chaqueta metálica (1987)","Teléfono rojo, volamos hacia Moscú (1964)","Eyes Wide Shut (1999)","Lolita (1962)","Paths of Glory (1957)","The Killing (1956)","The Shining (1980)"],
      "Steven Spielberg": ["Bridge of Spies (2015)","Jaws (1975)","La lista de Schindler (1993)","The Fabelmans (2022)","The Post (2017)","The Sugarland Express (1974)","Duel (1971)","Saving Private Ryan (1998)","War Horse (2011)"]
    },
    "T - Z": {
      "Terrence Malick": ["A Hidden Life (2019)","Badlands (1973)","The Thin Red Line (1998)"],
      "Tim Burton": ["Eduardo Manostijeras (1990)","Mars Attacks! (1996)"],
      "Todd Haynes": ["Carol (2015)","Far from Heaven (2002)"],
      "Tony Scott": ["Crimson Tide (1995)","Deja Vu (2006)","Enemy of the State (1998)","The Hunger (1983)","True Romance (1993)"],
      "Vincente Minnelli": ["Father of the Bride (1950)","Home from the Hill (1960)","Lust for Life (1956)","The Band Wagon (1953)","An American in Paris (1951)","Bells are Ringing (1960)","Brigadoon (1954)","Designing Woman (1957)","Gigi (1958)","Some Came Running (1958)","The Bad and the Beautiful (1952)","Two Weeks In Another Town (1962)"],
      "Walter Hill": ["Dead for A Dollar (2022)","Extreme Prejudice (1987)","Hard Times (1975)","The Driver (1978)","The Long Riders (1980)","Wild Bill (1995)","Southern Comfort (1981)"],
      "Werner Herzog": ["Aguirre, la cólera de Dios (1972)"],
      "Wes Anderson": ["The Phoenician Scheme (2025)"],
      "William A. Wellman": ["Across the Wide Missouri (1951)","Safe in Hell (1931)","A Star Is Born (1937)","Battleground (1949)","Beau Geste (1939)","Heroes for Sale (1933)","Nothing Sacred (1937)","The Ox-Bow Incident (1943)","The Public Enemy (1931)","Track of the Cat (1954)","Westward the Women (1951)","Wild Boys of the Road (1933)","Yellow Sky (1948)"],
      "William Friedkin": ["Killer Joe","The Hunted (2003)","To Live and Die in L.A. (1985)","Sorcerer (1977)","The Exorcist (1973)","The French Connection (1971)"],
      "William Wyler": ["Horizontes de grandeza (1958)","Jezabel (1938)","La loba (1941)","The Best Years Of Our Lives (1946)","Carrie (1952)","Dead End (1937)","Dodsworth (1936)","Friendly Persuasion (1956)","How to Steal a Million (1966)","Mrs. Miniver (1942)","The Collector (1965)","The Desperate Hours (1955)","The Good Fairy (1935)","The Heiress (1949)","The Letter (1940)","The Liberation of L.B. Jones (1970)","The Westerner (1940)","These Three (1936)","Wuthering Heights (1939)"],
      "Wim Wenders": ["Im Lauf der Zeit (1975)","El hombre de Chinatown (1982)","Paris, Texas (1984)","The American Friend (1977)"],
      "Woody Allen": ["Another Woman (1988)","Blue Jasmine (2013)","Café Society (2016)","Crimes and Misdemeanors (1989)","Deconstructing Harry (1997)","Manhattan (1979)","Match Point (2005)","Midnight in Paris (2011)","Radio Days (1987)","The Purple Rose of Cairo (1985)","Annie Hall (1977)","Bananas (1971)","Broadway Danny Rose (1984)","Bullets Over Broadway (1994)","Hannah and Her Sisters (1986)","Husbands and Wives (1992)","Mighty Aphrodite (1995)","Scoop (2006)","Shadows and Fog (1991)","Sleeper (1973)","Stardust Memories (1980)","Zelig (1983)"],
      "Zhang Yimou": ["Hero (2002)","La leyenda del río rojo (2023)","La linterna roja (1991)"]
    },
    "Otros / Varias / Series": {
      "Películas sueltas y series": [
        "El hombre de Londres (2007)",
        "Animal Kingdom (2010)",
        "Borsalino & Co. (1974)",
        "Certain Women (2016)",
        "Dracula (1979)",
        "El viajante (2016)",
        "Jerichow (2008)",
        "Los idus de marzo (2011)",
        "Maudie (2016)",
        "Mr. Nobody (2009)",
        "The Descendants (2011)",
        "Baby Driver (2017)",
        "La forma del agua (2017)",
        "Lucky (2017)",
        "Mudbound (2017)",
        "Borg McEnroe (2018)",
        "Red Sparrow (2018)",
        "Bacurau (2019)",
        "Bohemian Rhapsody (2019)",
        "Cold War (2019)",
        "Dogman (2019)",
        "Green Book (2018)",
        "Ha Nacido Una Estrella (2019)",
        "Midsommar (2019)",
        "Searching (2019)",
        "Shazam (2019)",
        "Triple Frontier (2019)",
        "Downton Abbey (2019)",
        "Druk - Another Round (2020)",
        "Joker (2019)",
        "Mujercitas (2019)",
        "Parásitos (2019)",
        "Minari (2020)",
        "Cyrano de Bergerac (1950)",
        "Fat Man and Little Boy (1989)",
        "Johnny Got His Gun (1971)",
        "Pinocchio (2019)",
        "Tangerine (2015)",
        "Hysteria (2011)",
        "Retrato de una mujer en llamas (2019)",
        "Promising Young Woman (2020)",
        "Requiem for the American Dream (2015)",
        "The Deep Blue Sea (2011)",
        "The Twilight Zone - Varios episodios (1959)",
        "Ulises 31 - Serie animada (1981)",
        "Hierro - Serie TV (2019)"
      ]
    }
  };

  // Función para extraer el año (busca el último año de 4 dígitos en el texto)
  function obtenerAnio(texto) {
    const match = texto.match(/\b(19|20)\d{2}\b/g);
    if (match && match.length > 0) {
      return parseInt(match[match.length - 1]); // Devuelve el último año encontrado
    }
    return 9999; // Si no tiene año, lo manda al final
  }

  let ordenAscendente = true; // Estado del orden

  function renderizar(filtro){
    const cont = document.getElementById('faContenido');
    cont.innerHTML = '';
    const f = (filtro || '').toLowerCase().trim();
    let totalMostradas = 0;
    let directoresMostrados = 0;

    for (const seccion in datos){
      const divSec = document.createElement('div');
      let htmlSec = '';
      let hayEnSeccion = false;

      for (const director in datos[seccion]){
        let pelis = datos[seccion][director];
        
        // 1. ORDENAR POR AÑO
        pelis = [...pelis].sort((a, b) => {
          const yA = obtenerAnio(a);
          const yB = obtenerAnio(b);
          return ordenAscendente ? yA - yB : yB - yA;
        });

        // 2. FILTRAR POR BÚSQUEDA
        const pelisFiltradas = f ? pelis.filter(p => p.toLowerCase().includes(f) || director.toLowerCase().includes(f)) : pelis;
        if (pelisFiltradas.length === 0) continue;
        
        hayEnSeccion = true;
        directoresMostrados++;
        totalMostradas += pelisFiltradas.length;

        htmlSec += '<h3 class="fa-director" data-director>' + director + ' <span style="font-weight:normal;font-size:0.85em;color:#666;">(' + pelisFiltradas.length + ')</span></h3>';
        htmlSec += '<ul class="fa-peliculas">';
        pelisFiltradas.forEach(p => {
          htmlSec += '<li>' + p + '</li>';
        });
        htmlSec += '</ul>';
      }

      if (hayEnSeccion){
        divSec.innerHTML = '<h2 class="fa-seccion" data-seccion>' + seccion + '</h2><div class="fa-contenido-seccion">' + htmlSec + '</div>';
        cont.appendChild(divSec);
      }
    }

    document.getElementById('faContador').textContent = 'Mostrando ' + totalMostradas + ' películas de ' + directoresMostrados + ' directores';
    attachEvents();
  }

  function attachEvents(){
    document.querySelectorAll('.fa-seccion').forEach(h => {
      h.addEventListener('click', function(){
        this.classList.toggle('fa-activo');
        this.nextElementSibling.classList.toggle('fa-activo');
      });
    });
    document.querySelectorAll('.fa-director').forEach(h => {
      h.addEventListener('click', function(){
        this.classList.toggle('fa-activo');
        this.nextElementSibling.classList.toggle('fa-activo');
      });
    });
  }

  // Eventos de búsqueda y ordenación
  document.getElementById('faBuscador').addEventListener('input', function(){
    renderizar(this.value);
  });

  document.getElementById('faOrdenBtn').addEventListener('click', function(){
    ordenAscendente = !ordenAscendente;
    this.textContent = ordenAscendente ? '⏳ Orden: Ascendente' : '⏳ Orden: Descendente';
    renderizar(document.getElementById('faBuscador').value);
  });

  // Renderizado inicial
  renderizar();
})();
</script>

Más sobre esto

Subir