wakelank/Tinsl

View on GitHub
seeds.rb

Summary

Maintainability
F
3 days
Test Coverage
arr = [
    
    {
      title: {
        text: "Gone with the Wind",
        href: "http://www.boxofficemojo.com/movies/?id=gonewiththewind.htm"
      },
      gross: "$1,608,275,200"
    },
    {
      title: {
        text: "Star Wars",
        href: "http://www.boxofficemojo.com/movies/?id=starwars4.htm"
      },
      gross: "$1,417,832,000"
    },
    {
      title: {
        text: "The Sound of Music",
        href: "http://www.boxofficemojo.com/movies/?id=soundofmusic.htm"
      },
      gross: "$1,133,626,400"
    },




    {
      title: {
        text: "E.T.: The Extra-Terrestrial",
        href: "http://www.boxofficemojo.com/movies/?id=et.htm"
      },
      gross: "$1,129,160,500"
    },
    {
      title: {
        text: "Titanic",
        href: "http://www.boxofficemojo.com/movies/?id=titanic.htm"
      },
      gross: "$1,078,376,800"
    },
    {
      title: {
        text: "The Ten Commandments",
        href: "http://www.boxofficemojo.com/movies/?id=tencommandments.htm"
      },
      gross: "$1,042,760,000"
    },
    {
      title: {
        text: "Jaws",
        href: "http://www.boxofficemojo.com/movies/?id=jaws.htm"
      },
      gross: "$1,019,507,400"
    },
    {
      title: {
        text: "Doctor Zhivago",
        href: "http://www.boxofficemojo.com/movies/?id=doctorzhivago.htm"
      },
      gross: "$988,118,200"
    },
    {
      title: {
        text: "The Exorcist",
        href: "http://www.boxofficemojo.com/movies/?id=exorcist.htm"
      },
      gross: "$880,369,400"
    },
    {
      title: {
        text: "Snow White and the Seven Dwarfs",
        href: "http://www.boxofficemojo.com/movies/?id=snowwhite.htm"
      },
      gross: "$867,640,000"
    },
    {
      title: {
        text: "101 Dalmatians",
        href: "http://www.boxofficemojo.com/movies/?id=101dalmations.htm"
      },
      gross: "$795,341,300"
    },
    {
      title: {
        text: "The Empire Strikes Back",
        href: "http://www.boxofficemojo.com/movies/?id=starwars5.htm"
      },
      gross: "$781,517,900"
    },
    {
      title: {
        text: "Ben-Hur",
        href: "http://www.boxofficemojo.com/movies/?id=benhur.htm"
      },
      gross: "$780,080,000"
    },
    {
      title: {
        text: "Avatar",
        href: "http://www.boxofficemojo.com/movies/?id=avatar.htm"
      },
      gross: "$774,151,900"
    },
    {
      title: {
        text: "Return of the Jedi",
        href: "http://www.boxofficemojo.com/movies/?id=starwars6.htm"
      },
      gross: "$748,712,900"
    },
    {
      title: {
        text: "Jurassic Park",
        href: "http://www.boxofficemojo.com/movies/?id=jurassicpark.htm"
      },
      gross: "$731,698,800"
    },
    {
      title: {
        text: "Star Wars: Episode I - The Phantom Menace",
        href: "http://www.boxofficemojo.com/movies/?id=starwars.htm"
      },
      gross: "$718,884,100"
    },
    {
      title: {
        text: "The Lion King",
        href: "http://www.boxofficemojo.com/movies/?id=lionking.htm"
      },
      gross: "$709,605,500"
    },
    {
      title: {
        text: "The Sting",
        href: "http://www.boxofficemojo.com/movies/?id=sting.htm"
      },
      gross: "$709,577,100"
    },
    {
      title: {
        text: "Raiders of the Lost Ark",
        href: "http://www.boxofficemojo.com/movies/?id=raidersofthelostark.htm"
      },
      gross: "$704,673,200"
    },
    {
      title: {
        text: "The Graduate",
        href: "http://www.boxofficemojo.com/movies/?id=graduate.htm"
      },
      gross: "$681,190,900"
    },
    {
      title: {
        text: "Fantasia",
        href: "http://www.boxofficemojo.com/movies/?id=fantasia.htm"
      },
      gross: "$661,026,100"
    },
    {
      title: {
        text: "The Godfather",
        href: "http://www.boxofficemojo.com/movies/?id=godfather.htm"
      },
      gross: "$628,223,600"
    },
    {
      title: {
        text: "Forrest Gump",
        href: "http://www.boxofficemojo.com/movies/?id=forrestgump.htm"
      },
      gross: "$625,223,100"
    },
    {
      title: {
        text: "Mary Poppins",
        href: "http://www.boxofficemojo.com/movies/?id=marypoppins.htm"
      },
      gross: "$622,327,300"
    },
    {
      title: {
        text: "Grease",
        href: "http://www.boxofficemojo.com/movies/?id=grease.htm"
      },
      gross: "$612,674,800"
    },
    {
      title: {
        text: "Marvel's The Avengers",
        href: "http://www.boxofficemojo.com/movies/?id=avengers11.htm"
      },
      gross: "$611,075,000"
    },
    {
      title: {
        text: "Thunderball",
        href: "http://www.boxofficemojo.com/movies/?id=thunderball.htm"
      },
      gross: "$595,408,000"
    },
    {
      title: {
        text: "The Dark Knight",
        href: "http://www.boxofficemojo.com/movies/?id=darkknight.htm"
      },
      gross: "$592,664,700"
    },
    {
      title: {
        text: "The Jungle Book",
        href: "http://www.boxofficemojo.com/movies/?id=junglebook.htm"
      },
      gross: "$586,492,100"
    },
    {
      title: {
        text: "Sleeping Beauty",
        href: "http://www.boxofficemojo.com/movies/?id=sleepingbeauty.htm"
      },
      gross: "$578,501,400"
    },
    {
      title: {
        text: "Shrek 2",
        href: "http://www.boxofficemojo.com/movies/?id=shrek2.htm"
      },
      gross: "$565,565,400"
    },
    {
      title: {
        text: "Ghostbusters",
        href: "http://www.boxofficemojo.com/movies/?id=ghostbusters.htm"
      },
      gross: "$563,015,700"
    },
    {
      title: {
        text: "Butch Cassidy and the Sundance Kid",
        href: "http://www.boxofficemojo.com/movies/?id=butchcassidyandthesundancekid.htm"
      },
      gross: "$561,640,500"
    },
    {
      title: {
        text: "Love Story",
        href: "http://www.boxofficemojo.com/movies/?id=lovestory.htm"
      },
      gross: "$557,185,200"
    },
    {
      title: {
        text: "Spider-Man",
        href: "http://www.boxofficemojo.com/movies/?id=spiderman.htm"
      },
      gross: "$553,098,600"
    },
    {
      title: {
        text: "Independence Day",
        href: "http://www.boxofficemojo.com/movies/?id=independenceday.htm"
      },
      gross: "$551,380,200"
    },
    {
      title: {
        text: "Home Alone",
        href: "http://www.boxofficemojo.com/movies/?id=homealone.htm"
      },
      gross: "$539,164,200"
    },
    {
      title: {
        text: "Pinocchio",
        href: "http://www.boxofficemojo.com/movies/?id=pinocchio.htm"
      },
      gross: "$536,530,500"
    },
    {
      title: {
        text: "Cleopatra (1963)",
        href: "http://www.boxofficemojo.com/movies/?id=cleopatra.htm"
      },
      gross: "$534,780,400"
    },
    {
      title: {
        text: "Beverly Hills Cop",
        href: "http://www.boxofficemojo.com/movies/?id=beverlyhillscop.htm"
      },
      gross: "$534,514,100"
    },
    {
      title: {
        text: "Goldfinger",
        href: "http://www.boxofficemojo.com/movies/?id=goldfinger.htm"
      },
      gross: "$527,748,000"
    },
    {
      title: {
        text: "Airport",
        href: "http://www.boxofficemojo.com/movies/?id=airport.htm"
      },
      gross: "$526,245,800"
    },
    {
      title: {
        text: "American Graffiti",
        href: "http://www.boxofficemojo.com/movies/?id=americangraffiti.htm"
      },
      gross: "$523,085,700"
    },
    {
      title: {
        text: "The Robe",
        href: "http://www.boxofficemojo.com/movies/?id=robe.htm"
      },
      gross: "$521,018,200"
    },
    {
      title: {
        text: "Pirates of the Caribbean: Dead Man's Chest",
        href: "http://www.boxofficemojo.com/movies/?id=piratesofthecaribbean2.htm"
      },
      gross: "$514,441,800"
    },
    {
      title: {
        text: "Around the World in 80 Days",
        href: "http://www.boxofficemojo.com/movies/?id=80days56.htm"
      },
      gross: "$514,338,500"
    },
    {
      title: {
        text: "Bambi",
        href: "http://www.boxofficemojo.com/movies/?id=bambi.htm"
      },
      gross: "$507,151,100"
    },
    {
      title: {
        text: "Blazing Saddles",
        href: "http://www.boxofficemojo.com/movies/?id=blazingsaddles.htm"
      },
      gross: "$503,387,400"
    },
    {
      title: {
        text: "Batman",
        href: "http://www.boxofficemojo.com/movies/?id=batman.htm"
      },
      gross: "$501,118,800"
    },
    {
      title: {
        text: "The Bells of St. Mary's",
        href: "http://www.boxofficemojo.com/movies/?id=bellsofstmarys.htm"
      },
      gross: "$499,451,000"
    },
    {
      title: {
        text: "The Lord of the Rings: The Return of the King",
        href: "http://www.boxofficemojo.com/movies/?id=returnoftheking.htm"
      },
      gross: "$490,652,000"
    },
    {
      title: {
        text: "Finding Nemo",
        href: "http://www.boxofficemojo.com/movies/?id=findingnemo.htm"
      },
      gross: "$490,526,100"
    },
    {
      title: {
        text: "The Towering Inferno",
        href: "http://www.boxofficemojo.com/movies/?id=toweringinferno.htm"
      },
      gross: "$488,550,300"
    },
    {
      title: {
        text: "Spider-Man 2",
        href: "http://www.boxofficemojo.com/movies/?id=spiderman2.htm"
      },
      gross: "$478,863,600"
    },
    {
      title: {
        text: "My Fair Lady",
        href: "http://www.boxofficemojo.com/movies/?id=myfairlady.htm"
      },
      gross: "$477,600,000"
    },
    {
      title: {
        text: "The Greatest Show on Earth",
        href: "http://www.boxofficemojo.com/movies/?id=greatestshowonearth.htm"
      },
      gross: "$477,600,000"
    },
    {
      title: {
        text: "National Lampoon's Animal House",
        href: "http://www.boxofficemojo.com/movies/?id=animalhouse.htm"
      },
      gross: "$476,726,500"
    },
    {
      title: {
        text: "The Passion of the Christ",
        href: "http://www.boxofficemojo.com/movies/?id=passionofthechrist.htm"
      },
      gross: "$475,250,500"
    },
    {
      title: {
        text: "Star Wars: Episode III - Revenge of the Sith",
        href: "http://www.boxofficemojo.com/movies/?id=starwars3.htm"
      },
      gross: "$472,223,700"
    },
    {
      title: {
        text: "Back to the Future",
        href: "http://www.boxofficemojo.com/movies/?id=backtothefuture.htm"
      },
      gross: "$470,043,200"
    },
    {
      title: {
        text: "The Lord of the Rings: The Two Towers",
        href: "http://www.boxofficemojo.com/movies/?id=twotowers.htm"
      },
      gross: "$459,493,200"
    },
    {
      title: {
        text: "The Dark Knight Rises",
        href: "http://www.boxofficemojo.com/movies/?id=batman3.htm"
      },
      gross: "$458,507,400"
    },
    {
      title: {
        text: "The Sixth Sense",
        href: "http://www.boxofficemojo.com/movies/?id=sixthsense.htm"
      },
      gross: "$458,329,900"
    },
    {
      title: {
        text: "Superman",
        href: "http://www.boxofficemojo.com/movies/?id=superman.htm"
      },
      gross: "$456,570,700"
    },
    {
      title: {
        text: "Tootsie",
        href: "http://www.boxofficemojo.com/movies/?id=tootsie.htm"
      },
      gross: "$452,955,400"
    },
    {
      title: {
        text: "Smokey and the Bandit",
        href: "http://www.boxofficemojo.com/movies/?id=smokeyandthebandit.htm"
      },
      gross: "$452,390,100"
    },
    {
      title: {
        text: "West Side Story",
        href: "http://www.boxofficemojo.com/movies/?id=westsidestory.htm"
      },
      gross: "$445,523,500"
    },
    {
      title: {
        text: "Harry Potter and the Sorcerer's Stone",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter.htm"
      },
      gross: "$445,067,300"
    },
    {
      title: {
        text: "Lady and the Tramp",
        href: "http://www.boxofficemojo.com/movies/?id=ladyandthetramp.htm"
      },
      gross: "$443,649,700"
    },
    {
      title: {
        text: "Close Encounters of the Third Kind",
        href: "http://www.boxofficemojo.com/movies/?id=closeencountersofthethirdkind.htm"
      },
      gross: "$442,381,300"
    },
    {
      title: {
        text: "Lawrence of Arabia",
        href: "http://www.boxofficemojo.com/movies/?id=lawrenceofarabia.htm"
      },
      gross: "$440,853,100"
    },
    {
      title: {
        text: "The Rocky Horror Picture Show",
        href: "http://www.boxofficemojo.com/movies/?id=rockyhorrorpictureshow.htm"
      },
      gross: "$438,352,600"
    },
    {
      title: {
        text: "Rocky",
        href: "http://www.boxofficemojo.com/movies/?id=rocky.htm"
      },
      gross: "$438,118,200"
    },
    {
      title: {
        text: "The Best Years of Our Lives",
        href: "http://www.boxofficemojo.com/movies/?id=bestyearsofourlives.htm"
      },
      gross: "$437,800,000"
    },
    {
      title: {
        text: "The Poseidon Adventure",
        href: "http://www.boxofficemojo.com/movies/?id=poseidonadventure.htm"
      },
      gross: "$437,019,600"
    },
    {
      title: {
        text: "The Lord of the Rings: The Fellowship of the Ring",
        href: "http://www.boxofficemojo.com/movies/?id=fellowshipofthering.htm"
      },
      gross: "$436,202,300"
    },
    {
      title: {
        text: "Twister",
        href: "http://www.boxofficemojo.com/movies/?id=twister.htm"
      },
      gross: "$435,317,500"
    },
    {
      title: {
        text: "Men in Black",
        href: "http://www.boxofficemojo.com/movies/?id=meninblack.htm"
      },
      gross: "$434,748,700"
    },
    {
      title: {
        text: "The Bridge on the River Kwai",
        href: "http://www.boxofficemojo.com/movies/?id=bridgeontheriverkwai.htm"
      },
      gross: "$433,024,000"
    },
    {
      title: {
        text: "Transformers: Revenge of the Fallen",
        href: "http://www.boxofficemojo.com/movies/?id=transformers2.htm"
      },
      gross: "$429,051,400"
    },
    {
      title: {
        text: "It's a Mad, Mad, Mad, Mad World",
        href: "http://www.boxofficemojo.com/movies/?id=itsamadmadmadmadworld.htm"
      },
      gross: "$428,848,300"
    },
    {
      title: {
        text: "Swiss Family Robinson",
        href: "http://www.boxofficemojo.com/movies/?id=swissfamilyrobinson.htm"
      },
      gross: "$428,311,700"
    },
    {
      title: {
        text: "One Flew Over the Cuckoo's Nest",
        href: "http://www.boxofficemojo.com/movies/?id=oneflewoverthecuckoosnest.htm"
      },
      gross: "$427,335,400"
    },
    {
      title: {
        text: "M.A.S.H.",
        href: "http://www.boxofficemojo.com/movies/?id=mash.htm"
      },
      gross: "$427,326,300"
    },
    {
      title: {
        text: "Indiana Jones and the Temple of Doom",
        href: "http://www.boxofficemojo.com/movies/?id=indianajonesandthetempleofdoom.htm"
      },
      gross: "$426,121,200"
    },
    {
      title: {
        text: "Star Wars: Episode II - Attack of the Clones",
        href: "http://www.boxofficemojo.com/movies/?id=starwars2.htm"
      },
      gross: "$425,609,000"
    },
    {
      title: {
        text: "Mrs. Doubtfire",
        href: "http://www.boxofficemojo.com/movies/?id=mrsdoubtfire.htm"
      },
      gross: "$419,367,700"
    },
    {
      title: {
        text: "Aladdin",
        href: "http://www.boxofficemojo.com/movies/?id=aladdin.htm"
      },
      gross: "$417,441,100"
    },
    {
      title: {
        text: "Toy Story 3",
        href: "http://www.boxofficemojo.com/movies/?id=toystory3.htm"
      },
      gross: "$415,526,900"
    },
    {
      title: {
        text: "Ghost",
        href: "http://www.boxofficemojo.com/movies/?id=ghost.htm"
      },
      gross: "$409,663,200"
    },
    {
      title: {
        text: "The Hunger Games: Catching Fire",
        href: "http://www.boxofficemojo.com/movies/?id=catchingfire.htm"
      },
      gross: "$406,876,400"
    },
    {
      title: {
        text: "Duel in the Sun",
        href: "http://www.boxofficemojo.com/movies/?id=duelinthesun.htm"
      },
      gross: "$406,122,400"
    },
    {
      title: {
        text: "The Hunger Games",
        href: "http://www.boxofficemojo.com/movies/?id=hungergames.htm"
      },
      gross: "$404,672,800"
    },
    {
      title: {
        text: "Pirates of the Caribbean: The Curse of the Black Pearl",
        href: "http://www.boxofficemojo.com/movies/?id=piratesofthecaribbean.htm"
      },
      gross: "$403,165,200"
    },
    {
      title: {
        text: "House of Wax",
        href: "http://www.boxofficemojo.com/movies/?id=houseofwax53.htm"
      },
      gross: "$402,234,000"
    },
    {
      title: {
        text: "Rear Window",
        href: "http://www.boxofficemojo.com/movies/?id=rearwindow.htm"
      },
      gross: "$400,823,700"
    },
    {
      title: {
        text: "The Lost World: Jurassic Park",
        href: "http://www.boxofficemojo.com/movies/?id=jurassicpark2.htm"
      },
      gross: "$397,283,200"
    },
    {
      title: {
        text: "Indiana Jones and the Last Crusade",
        href: "http://www.boxofficemojo.com/movies/?id=indianajonesandthelastcrusade.htm"
      },
      gross: "$393,355,300"
    },
    {
      title: {
        text: "Monsters, Inc.",
        href: "http://www.boxofficemojo.com/movies/?id=monstersinc.htm"
      },
      gross: "$392,864,000"
    },
    {
      title: {
        text: "Frozen",
        href: "http://www.boxofficemojo.com/movies/?id=frozen2013.htm"
      },
      gross: "$390,270,000"
    },
    {
      title: {
        text: "Spider-Man 3",
        href: "http://www.boxofficemojo.com/movies/?id=spiderman3.htm"
      },
      gross: "$389,357,700"
    },
    {
      title: {
        text: "Iron Man 3",
        href: "http://www.boxofficemojo.com/movies/?id=ironman3.htm"
      },
      gross: "$388,514,500"
    },
    {
      title: {
        text: "Terminator 2: Judgment Day",
        href: "http://www.boxofficemojo.com/movies/?id=terminator2.htm"
      },
      gross: "$387,304,800"
    },
    {
      title: {
        text: "Sergeant York",
        href: "http://www.boxofficemojo.com/movies/?id=sergeantyork.htm"
      },
      gross: "$383,060,600"
    },
    {
      title: {
        text: "How the Grinch Stole Christmas",
        href: "http://www.boxofficemojo.com/movies/?id=grinch.htm"
      },
      gross: "$382,930,300"
    },
    {
      title: {
        text: "Top Gun",
        href: "http://www.boxofficemojo.com/movies/?id=topgun.htm"
      },
      gross: "$382,279,600"
    },
    {
      title: {
        text: "Harry Potter and the Deathly Hallows Part 2",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter72.htm"
      },
      gross: "$381,999,700"
    },
    {
      title: {
        text: "Toy Story 2",
        href: "http://www.boxofficemojo.com/movies/?id=toystory2.htm"
      },
      gross: "$380,778,700"
    },
    {
      title: {
        text: "Shrek",
        href: "http://www.boxofficemojo.com/movies/?id=shrek.htm"
      },
      gross: "$376,433,500"
    },
    {
      title: {
        text: "Shrek the Third",
        href: "http://www.boxofficemojo.com/movies/?id=shrek3.htm"
      },
      gross: "$373,379,500"
    },
    {
      title: {
        text: "Despicable Me 2",
        href: "http://www.boxofficemojo.com/movies/?id=despicableme2.htm"
      },
      gross: "$373,255,900"
    },
    {
      title: {
        text: "The Matrix Reloaded",
        href: "http://www.boxofficemojo.com/movies/?id=matrixreloaded.htm"
      },
      gross: "$371,699,600"
    },
    {
      title: {
        text: "Transformers",
        href: "http://www.boxofficemojo.com/movies/?id=transformers06.htm"
      },
      gross: "$369,360,400"
    },
    {
      title: {
        text: "Crocodile Dundee",
        href: "http://www.boxofficemojo.com/movies/?id=crocodiledundee.htm"
      },
      gross: "$367,771,600"
    },
    {
      title: {
        text: "The Four Horsemen of the Apocalypse",
        href: "http://www.boxofficemojo.com/movies/?id=fourhorsemen.htm"
      },
      gross: "$365,510,200"
    },
    {
      title: {
        text: "Saving Private Ryan",
        href: "http://www.boxofficemojo.com/movies/?id=savingprivateryan.htm"
      },
      gross: "$364,146,700"
    },
    {
      title: {
        text: "Young Frankenstein",
        href: "http://www.boxofficemojo.com/movies/?id=youngfrankenstein.htm"
      },
      gross: "$363,352,200"
    },
    {
      title: {
        text: "Peter Pan",
        href: "http://www.boxofficemojo.com/movies/?id=peterpan.htm"
      },
      gross: "$363,163,300"
    },
    {
      title: {
        text: "Gremlins",
        href: "http://www.boxofficemojo.com/movies/?id=gremlins.htm"
      },
      gross: "$362,038,000"
    },
    {
      title: {
        text: "Beauty and the Beast",
        href: "http://www.boxofficemojo.com/movies/?id=beautyandthebeast.htm"
      },
      gross: "$361,095,100"
    },
    {
      title: {
        text: "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe",
        href: "http://www.boxofficemojo.com/movies/?id=narnia.htm"
      },
      gross: "$359,602,700"
    },
    {
      title: {
        text: "Harry Potter and the Goblet of Fire",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter4.htm"
      },
      gross: "$359,595,100"
    },
    {
      title: {
        text: "Pirates of the Caribbean: At World's End",
        href: "http://www.boxofficemojo.com/movies/?id=piratesofthecaribbean3.htm"
      },
      gross: "$357,992,200"
    },
    {
      title: {
        text: "Harry Potter and the Chamber of Secrets",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter2.htm"
      },
      gross: "$357,530,400"
    },
    {
      title: {
        text: "The Fugitive",
        href: "http://www.boxofficemojo.com/movies/?id=fugitive.htm"
      },
      gross: "$353,402,600"
    },
    {
      title: {
        text: "The Caine Mutiny",
        href: "http://www.boxofficemojo.com/movies/?id=cainemutiny.htm"
      },
      gross: "$353,326,500"
    },
    {
      title: {
        text: "Iron Man",
        href: "http://www.boxofficemojo.com/movies/?id=ironman.htm"
      },
      gross: "$352,992,200"
    },
    {
      title: {
        text: "Transformers: Dark of the Moon",
        href: "http://www.boxofficemojo.com/movies/?id=transformers3.htm"
      },
      gross: "$352,316,700"
    },
    {
      title: {
        text: "Meet the Fockers",
        href: "http://www.boxofficemojo.com/movies/?id=meetthefockers.htm"
      },
      gross: "$351,617,300"
    },
    {
      title: {
        text: "Indiana Jones and the Kingdom of the Crystal Skull",
        href: "http://www.boxofficemojo.com/movies/?id=indianajones4.htm"
      },
      gross: "$351,549,400"
    },
    {
      title: {
        text: "Toy Story",
        href: "http://www.boxofficemojo.com/movies/?id=toystory.htm"
      },
      gross: "$349,191,900"
    },
    {
      title: {
        text: "Dances with Wolves",
        href: "http://www.boxofficemojo.com/movies/?id=danceswithwolves.htm"
      },
      gross: "$347,846,400"
    },
    {
      title: {
        text: "An Officer and a Gentleman",
        href: "http://www.boxofficemojo.com/movies/?id=officerandagentleman.htm"
      },
      gross: "$347,508,600"
    },
    {
      title: {
        text: "2001: A Space Odyssey",
        href: "http://www.boxofficemojo.com/movies/?id=2001.htm"
      },
      gross: "$344,958,600"
    },
    {
      title: {
        text: "Rain Man",
        href: "http://www.boxofficemojo.com/movies/?id=rainman.htm"
      },
      gross: "$344,601,900"
    },
    {
      title: {
        text: "Guess Who's Coming to Dinner",
        href: "http://www.boxofficemojo.com/movies/?id=guesswhoscomingtodinner.htm"
      },
      gross: "$344,325,700"
    },
    {
      title: {
        text: "Kramer Vs. Kramer",
        href: "http://www.boxofficemojo.com/movies/?id=kramervskramer.htm"
      },
      gross: "$342,441,100"
    },
    {
      title: {
        text: "Armageddon",
        href: "http://www.boxofficemojo.com/movies/?id=armageddon.htm"
      },
      gross: "$342,124,200"
    },
    {
      title: {
        text: "Psycho",
        href: "http://www.boxofficemojo.com/movies/?id=psycho.htm"
      },
      gross: "$339,626,800"
    },
    {
      title: {
        text: "Rocky III",
        href: "http://www.boxofficemojo.com/movies/?id=rocky3.htm"
      },
      gross: "$338,405,500"
    },
    {
      title: {
        text: "Harry Potter and the Order of the Phoenix",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter5.htm"
      },
      gross: "$337,842,700"
    },
    {
      title: {
        text: "Rambo: First Blood Part II",
        href: "http://www.boxofficemojo.com/movies/?id=rambo2.htm"
      },
      gross: "$337,269,500"
    },
    {
      title: {
        text: "Batman Forever",
        href: "http://www.boxofficemojo.com/movies/?id=batmanforever.htm"
      },
      gross: "$336,755,800"
    },
    {
      title: {
        text: "Pretty Woman",
        href: "http://www.boxofficemojo.com/movies/?id=prettywoman.htm"
      },
      gross: "$335,724,300"
    },
    {
      title: {
        text: "Earthquake",
        href: "http://www.boxofficemojo.com/movies/?id=earthquake.htm"
      },
      gross: "$335,527,300"
    },
    {
      title: {
        text: "Alice in Wonderland (2010)",
        href: "http://www.boxofficemojo.com/movies/?id=aliceinwonderland10.htm"
      },
      gross: "$334,611,500"
    },
    {
      title: {
        text: "The Incredibles",
        href: "http://www.boxofficemojo.com/movies/?id=incredibles.htm"
      },
      gross: "$334,558,400"
    },
    {
      title: {
        text: "Cast Away",
        href: "http://www.boxofficemojo.com/movies/?id=castaway.htm"
      },
      gross: "$333,477,800"
    },
    {
      title: {
        text: "Home Alone 2: Lost in New York",
        href: "http://www.boxofficemojo.com/movies/?id=homealone2.htm"
      },
      gross: "$333,122,700"
    },
    {
      title: {
        text: "Three Men and a Baby",
        href: "http://www.boxofficemojo.com/movies/?id=threemenandababy.htm"
      },
      gross: "$331,962,100"
    },
    {
      title: {
        text: "My Big Fat Greek Wedding",
        href: "http://www.boxofficemojo.com/movies/?id=mybigfatgreekwedding.htm"
      },
      gross: "$329,699,000"
    },
    {
      title: {
        text: "Mission: Impossible",
        href: "http://www.boxofficemojo.com/movies/?id=missionimpossible.htm"
      },
      gross: "$325,931,100"
    },
    {
      title: {
        text: "Saturday Night Fever",
        href: "http://www.boxofficemojo.com/movies/?id=saturdaynightfever.htm"
      },
      gross: "$323,213,700"
    },
    {
      title: {
        text: "On Golden Pond",
        href: "http://www.boxofficemojo.com/movies/?id=ongoldenpond.htm"
      },
      gross: "$323,051,300"
    },
    {
      title: {
        text: "Austin Powers: The Spy Who Shagged Me",
        href: "http://www.boxofficemojo.com/movies/?id=austinpowers2.htm"
      },
      gross: "$322,850,200"
    },
    {
      title: {
        text: "Harry Potter and the Half-Blood Prince",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter6.htm"
      },
      gross: "$322,150,200"
    },
    {
      title: {
        text: "Bruce Almighty",
        href: "http://www.boxofficemojo.com/movies/?id=brucealmighty.htm"
      },
      gross: "$320,550,700"
    },
    {
      title: {
        text: "Harry Potter and the Prisoner of Azkaban",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter3.htm"
      },
      gross: "$319,862,600"
    },
    {
      title: {
        text: "Funny Girl",
        href: "http://www.boxofficemojo.com/movies/?id=funnygirl.htm"
      },
      gross: "$318,714,000"
    },
    {
      title: {
        text: "Mission: Impossible II",
        href: "http://www.boxofficemojo.com/movies/?id=mi2.htm"
      },
      gross: "$318,119,300"
    },
    {
      title: {
        text: "Rush Hour 2",
        href: "http://www.boxofficemojo.com/movies/?id=rushhour2.htm"
      },
      gross: "$318,068,500"
    },
    {
      title: {
        text: "Apollo 13",
        href: "http://www.boxofficemojo.com/movies/?id=apollo13.htm"
      },
      gross: "$317,267,600"
    },
    {
      title: {
        text: "Patton",
        href: "http://www.boxofficemojo.com/movies/?id=patton.htm"
      },
      gross: "$317,114,900"
    },
    {
      title: {
        text: "Fatal Attraction",
        href: "http://www.boxofficemojo.com/movies/?id=fatalattraction.htm"
      },
      gross: "$315,858,800"
    },
    {
      title: {
        text: "Liar Liar",
        href: "http://www.boxofficemojo.com/movies/?id=liarliar.htm"
      },
      gross: "$314,603,100"
    },
    {
      title: {
        text: "Robin Hood: Prince of Thieves",
        href: "http://www.boxofficemojo.com/movies/?id=robinhoodprinceofthieves.htm"
      },
      gross: "$312,905,300"
    },
    {
      title: {
        text: "Beverly Hills Cop II",
        href: "http://www.boxofficemojo.com/movies/?id=beverlyhillscop2.htm"
      },
      gross: "$312,832,100"
    },
    {
      title: {
        text: "Iron Man 2",
        href: "http://www.boxofficemojo.com/movies/?id=ironman2.htm"
      },
      gross: "$312,826,300"
    },
    {
      title: {
        text: "Up",
        href: "http://www.boxofficemojo.com/movies/?id=up.htm"
      },
      gross: "$312,619,300"
    },
    {
      title: {
        text: "Batman Returns",
        href: "http://www.boxofficemojo.com/movies/?id=batmanreturns.htm"
      },
      gross: "$312,323,000"
    },
    {
      title: {
        text: "Signs",
        href: "http://www.boxofficemojo.com/movies/?id=signs.htm"
      },
      gross: "$312,299,800"
    },
    {
      title: {
        text: "Superman II",
        href: "http://www.boxofficemojo.com/movies/?id=superman2.htm"
      },
      gross: "$309,769,100"
    },
    {
      title: {
        text: "The Twilight Saga: New Moon",
        href: "http://www.boxofficemojo.com/movies/?id=newmoon.htm"
      },
      gross: "$309,724,200"
    },
    {
      title: {
        text: "What's Up, Doc?",
        href: "http://www.boxofficemojo.com/movies/?id=whatsupdoc.htm"
      },
      gross: "$309,035,300"
    },
    {
      title: {
        text: "9 to 5",
        href: "http://www.boxofficemojo.com/movies/?id=9to5.htm"
      },
      gross: "$305,647,700"
    },
    {
      title: {
        text: "The Firm",
        href: "http://www.boxofficemojo.com/movies/?id=firm.htm"
      },
      gross: "$304,457,200"
    },
    {
      title: {
        text: "Who Framed Roger Rabbit",
        href: "http://www.boxofficemojo.com/movies/?id=whoframedrogerrabbit.htm"
      },
      gross: "$303,007,500"
    },
    {
      title: {
        text: "The Hobbit: An Unexpected Journey",
        href: "http://www.boxofficemojo.com/movies/?id=hobbit.htm"
      },
      gross: "$301,168,100"
    },
    {
      title: {
        text: "Skyfall",
        href: "http://www.boxofficemojo.com/movies/?id=bond23.htm"
      },
      gross: "$300,957,500"
    },
    {
      title: {
        text: "The Twilight Saga: Eclipse",
        href: "http://www.boxofficemojo.com/movies/?id=eclipse.htm"
      },
      gross: "$300,909,800"
    },
    {
      title: {
        text: "Porky's",
        href: "http://www.boxofficemojo.com/movies/?id=porkys.htm"
      },
      gross: "$300,268,500"
    },
    {
      title: {
        text: "Air Force One",
        href: "http://www.boxofficemojo.com/movies/?id=airforceone.htm"
      },
      gross: "$299,874,500"
    },
    {
      title: {
        text: "Stir Crazy",
        href: "http://www.boxofficemojo.com/movies/?id=stircrazy.htm"
      },
      gross: "$299,757,600"
    },
    {
      title: {
        text: "A Star Is Born (1976)",
        href: "http://www.boxofficemojo.com/movies/?id=starisborn76.htm"
      },
      gross: "$298,967,100"
    },
    {
      title: {
        text: "There's Something About Mary",
        href: "http://www.boxofficemojo.com/movies/?id=somethingaboutmary.htm"
      },
      gross: "$298,329,900"
    },
    {
      title: {
        text: "Cars",
        href: "http://www.boxofficemojo.com/movies/?id=cars.htm"
      },
      gross: "$296,626,000"
    },
    {
      title: {
        text: "The Hangover",
        href: "http://www.boxofficemojo.com/movies/?id=hangover.htm"
      },
      gross: "$295,840,500"
    },
    {
      title: {
        text: "Lethal Weapon 2",
        href: "http://www.boxofficemojo.com/movies/?id=lethalweapon2.htm"
      },
      gross: "$295,249,800"
    },
    {
      title: {
        text: "Night at the Museum",
        href: "http://www.boxofficemojo.com/movies/?id=nightatthemuseum.htm"
      },
      gross: "$294,851,100"
    },
    {
      title: {
        text: "Harry Potter and the Deathly Hallows Part 1",
        href: "http://www.boxofficemojo.com/movies/?id=harrypotter7.htm"
      },
      gross: "$294,433,900"
    },
    {
      title: {
        text: "Inception",
        href: "http://www.boxofficemojo.com/movies/?id=inception.htm"
      },
      gross: "$292,944,200"
    },
    {
      title: {
        text: "I Am Legend",
        href: "http://www.boxofficemojo.com/movies/?id=iamlegend.htm"
      },
      gross: "$292,323,000"
    },
    {
      title: {
        text: "Austin Powers in Goldmember",
        href: "http://www.boxofficemojo.com/movies/?id=austinpowers3.htm"
      },
      gross: "$292,242,800"
    },
    {
      title: {
        text: "War of the Worlds",
        href: "http://www.boxofficemojo.com/movies/?id=waroftheworlds.htm"
      },
      gross: "$290,931,600"
    },
    {
      title: {
        text: "Every Which Way But Loose",
        href: "http://www.boxofficemojo.com/movies/?id=everywhichwaybutloose.htm"
      },
      gross: "$289,813,700"
    },
    {
      title: {
        text: "The Twilight Saga: Breaking Dawn Part 2",
        href: "http://www.boxofficemojo.com/movies/?id=breakingdawn2.htm"
      },
      gross: "$289,056,500"
    },
    {
      title: {
        text: "The Love Bug",
        href: "http://www.boxofficemojo.com/movies/?id=lovebug.htm"
      },
      gross: "$287,367,200"
    },
    {
      title: {
        text: "The Twilight Saga: Breaking Dawn Part 1",
        href: "http://www.boxofficemojo.com/movies/?id=breakingdawn.htm"
      },
      gross: "$285,867,000"
    },
    {
      title: {
        text: "You Only Live Twice",
        href: "http://www.boxofficemojo.com/movies/?id=youonlylivetwice.htm"
      },
      gross: "$285,795,800"
    }
  ]

arr.each do |movie|
  x = movie[:gross].gsub('$','')
  x = x.gsub(',','')
  Seedmovie.create(title: movie[:title][:text], gross: x)
end