thibaudgg/video_info — Issue #9: weird regex issue?
Author: benwoodward
Created: 2011-11-24 13:14:06+00:00
State: open

With 'http://' .. all good.

```ruby
VideoInfo.new('http://youtube.com/watch?v=Qi_AAqi0RZM')
=> #"VideoInfo/0.2.8"}, @provider="YouTube", @url="http://www.youtube.com/watch?v=Qi_AAqi0RZM", @title="Twilio's definitive brogramming primer", @description="Rob \"Chad\" Spectre of Twilio lays down the brogramming steez. Go to http://www.twilio.com to build some chill apps, bro.", @keywords="brogramming, twilio brogram primer, rob spectre, brogram, brogramming 101", @duration=875, @date=2011-09-22 21:09:43 UTC, @thumbnail_small="http://i.ytimg.com/vi/Qi_AAqi0RZM/1.jpg", @thumbnail_large="http://i.ytimg.com/vi/Qi_AAqi0RZM/0.jpg", @view_count=34589, @video_id="Qi_AAqi0RZM">>
```

Without ... WHOAH.

```ruby
VideoInfo.new('youtube.com/watch?v=Qi_AAqi0RZM')
=> #"VideoInfo/0.2.8"}, @provider="YouTube", @url="http://www.youtube.com/watch?v=", @title="Amy Winehouse - Our Day Will Come: Amy Winehouse TributeIndia Talent Show - Warriors of Goja AMAZINGFAMILY HOME DESTROYED BY AVALANCHE - CHILDREN TO BLAMEDavid Guetta (feat. Usher) - Without You (cover) Megan NicoleAchmed the Dead Terrorist Has a Son - Jeff Dunham - Controlled ChaosLos Vazquez Sounds ( rolling in the deep - Adele around the world covers )Drake - The Motto ft. Lil WayneFuture - Tony Montana (Behind The Scenes)8 Year Old Raps Mistletoe by Justin Bieber (MattyBRaps)Drake - VEVO News InterviewHard And Black Realistic But Not Real GunKarmin - Get To Know Karmin (VEVO LIFT)Little Mix are ready to Set It Off - The X Factor 2011 Live Show 7 - itv.com/xfactorMinecraft - \"Shadow of Israphel\" Outtakes (Minecon Special!)Rihanna Performance - Top 10 Eliminations - THE X FACTOR USA 2011Minecraft - \"Shadow of Israphel\" Part 35: Lastwatch Hold (Minecon Special!)asdasdags524_chunk_1.mp4First Memories of Music: Interview, Pt. 1 (VEVO LIFT)Adele - Set Fire To The RainFoster The People - Call It What You WantMichael J. Fox Playing \"Johnny B. Goode\" LIVE!Real Madrid 6-2 Dinamo Zagreb All Goals HD 22/11/2011MW3 THIS IS SPARTA! (Funny 300 Parody)Mieders Alpine Coaster (with no brakes!!)Thug Le - Ladies vs Ricky Bahl", @description="Lioness: Hidden Treasures out 5th Dec. Pre-order now: bit.ly Music video by Amy Winehouse performing Our Day Will Come: Amy Winehouse Tribute. (C) 2011 Lioness Records Ltd, under exclusive licence to Universal-Island Records LtdI have no words for this.. just AMAZING Visit My blog for more amazing videos 66evol.blogspot.comMommy was not feeling well and had to stay in the bathroom longer than usual during which my two boys, ages 1 and 3 took my new bag of flour out of the cupboard and destroyed my house. This is from ONE 5lb bag. Don't believe me? Hand a full bag to a 3 year old and see what happens.Download my original \"Bea-utiful\" on itunes: itunes.apple.com \"Without You\" (cover) Itunes: itunes.apple.com **Thank you for over 600000 subscribers! Wow...thank you, thank you, thank you...I greatly appreciate all of your support! Much love Love this song...Hope you enjoy :) Special thanks to Brian Reeves! You can find me on... FACEBOOK: www.facebook.com TWITTER: www.twitter.com WEBSITE: www.megannicolemusic.com Got an instagram? Follow me @megannicolemusic 'Without You' - originally by David Guetta ft. Usher Written by Pierre Guetta, Usher Raymond, Giorgio Tuinfort, Frédéric Riesterer, Rico Love, Taio Cruz Published by: EMI Music Publishing, Sony ATV Music Publishing & Shapiro Bernstein & Co Inc :)descarga la cancion / download : hulkshare.com around the world covers of rolling in the deep vazquez sounds cover rolling in the deep vazquezsoundsDrake - The Motto ft. Lil Wayne Drake - The Motto Drake - The Motto Drake - The Motto Drake - The Motto Drake - The MottoMusic video by Future performing Tony Montana - Behind The Scenes. (C) 2011 Sony Music EntertainmentOfficial Giveaway Rules Below! Hi B Boys and B Girls! Thanks for watching my version of \"Mistletoe\" by Justin Bieber. The Holiday Season is officially here and after all of the support you have given me this past year, I really want to give something nice back to you! I'm giving away one free pair of BeatsByDre TOUR In Ear Headphones to one random B Boy or B Girl who participates in the MattyBRaps 2011 Christmas Giveaway! If you want to know more about these headphones, click here: beatsbydre.com Official MattyBRaps 2011 Christmas Giveaway Rules: 1. Subscribe to YouTube.com/MattyBRaps 2. Submit your e-mail to MattyBRaps.Fanbridge.com 3. Leave a comment about what you want for Christmas! Winner will be randomly chosen on December 24th, 2011. This Giveaway is available to ALL B Boys and B Girls WORLDWIDE so be sure to participate! This contest is in compliance with YouTube's Terms of Service and Community Guidelines which can be found here TOS: www.youtube.com CG: www.youtube.com Merry Christmas and Happy Holidays from my family to yours! :) OFFICIAL MATTYB LINKS: Main Channel www.MattyBRaps.com Vlog Channel http Twitter www.Twitter.com Facebook www.Facebook.com DailyBooth (Pics) www.DailyBooth.com To purchase the instrumental track used to record this song, click here! itunes.apple.comVEVO News sits down with Drake to talk TAKE CARE, in stores now: vevo.ly © 2011 Cash Money Records/Young Money Ent./Universal Rec.No guns were hurt in the making of this crap. www.youtube.com www.twitter.com www.facebook.com www.higatv.comGet to know our newest LIFT artist, Karmin! They are here to #CrashYourParty! See more at: www.vevo.com © 2011 EpicThe X Factor: Little Mix \"work their bottoms off\" says Perrie and this week, as part of their hectic schedule, they got to meet The Saturdays to get advice about being a successful girl group. They also got to go to the Twilight premiere and Eek and Oh Em Gee indeed, they only got a message from Taylor Lautner. See him speak right here! See more at itv.com Buy this performance from iTunes: bit.lyThe brand new Minecraft episode showing a variety of outtakes, as shown excusively at Minecon 2011! Thanks to everyone who came and saw us in person at our panel! We'll put the rest of the panel up over the next few days! ● Yogscast Gear: yogscast.spreadshirt.co.uk ♪ Daniel Yount: itunes.apple.com ♦ Intro splashscreen by explosivewhale ♦ Additional artwork by Lalna ● Facebook: www.facebook.com ● Twitter: www.twitter.com ● Forums: yogscast.com ● Podcast: itunes.apple.comRihanna performs \"We Found Love.\" Pre-Order Rihanna's new album Talk That Talk: smarturl.it Available everywhere 11.21.11! bit.ly (Official Site) bit.ly ('Like' on Facebook) bit.ly (Follow on Twitter)The brand new Minecraft episode, as shown excusively at Minecon 2011! Thanks to everyone who came and saw us in person at our panel! We'll put the rest of the panel up over the next few days! ● Yogscast Gear: yogscast.spreadshirt.co.uk ♪ Daniel Yount: itunes.apple.com ♦ Intro splashscreen by explosivewhale ♦ Additional artwork by Lalna ● Facebook: www.facebook.com ● Twitter: www.twitter.com ● Forums: yogscast.com ● Podcast: itunes.apple.comasdasdags524_chunk_1.mp4We hang out with Amy & Nick of @KarminMusic, play some skee-ball and talk music! See more at: www.vevo.com #CrashYourParty © 2011 EpicMusic video by Adele performing Set Fire To The Rain. (C) 2011 XL Recordings LtdMusic video by Foster The People performing Call It What You Want. (c) 2011 Sony Music EntertainmentBy AnnaGoldfarb.com Here's Michael J. Fox rocking out at the Waldorf-Astoria. www.michaeljfox.org Read the full story behind the video here: www.shmittenkitten.comwww.facebook.com Real Madrid 6-2 Dinamo Zagreb All Goals HD 22/11/2011 real madrid vs dinamo zagreb 6-2 full highlights all goals Benzema Ozil Callejón Higuain; Beqiraj TomecakSubmit yo clips/refer people here - the2bucks.com MW3 The Opposite of Taking One for the Team: www.youtube.com MW3 THIS IS SPARTA! (Funny 300 Parody) Clip By: www.youtube.com With help by: www.youtube.com Music used: www.youtube.com Personal channel for my personal fans: www.youtube.com My Twitter: twitter.com My Facebook: facebook.com Controller Affiliate: www.modz-armory.com IF YOU COME ACROSS A FUNNY/AMAZING COD CLIP ON YOUTUBE, COMMENT ON IT TELLING THE PERSON TO SUBMIT IT TO AMAZINGFILMS247! AmazingFilms247 \"MW3 Funny\" mw3 funny \"modern warfare 3 funny\" \"MW3 Funny\" mw3 funny \"modern warfare 3 funny\" \"MW3 Funny\" mw3 funny \"modern warfare 3 funny\"This is a single-pipe alpine coaster in Mieders, Austria. You reach the summit via a cablecar and then sit on a small car with a brake lever and off you go. Having ridden it once using a little braking, I decided to try it a second time without using the brakes. This is SCARY! Enjoy the ride! Off-ride footage here www.youtube.comRelease Date: 09 December 2011 Genre: Romance Starring: Ranveer Singh, Anushka Sharma, Dipannita Sharma, Aditi Sharma and Parineeti Chopra Producer: Aditya Chopra Director: Maneesh Sharma Music: Salim - Sulaiman Lyrics: Amitabh Bhattacharya After the heartwarming success of BAND BAAJA BAARAAT, director Maneesh Sharma is back with his team, in YASH RAJ FILMS' next offering LADIES vs RICKY BAHL. Starring Ranveer Singh, who has won everyone's heart with his endearing and scintillating performance, as well as the Best Actor (Debut) at all the award shows this year, and the accomplished and charismatic Anushka Sharma, the film is produced by Aditya Chopra and is based on a story developed by him. Habib Faisal has written the dialogues, the screenplay is by Devika Bhagat. The music is composed by Salim-Sulaiman, lyrics by Amitabh Bhattacharya and the film is shot by Aseem Mishra (DOP), all of whom have been a part of BAND BAAJA BAARAAT. LADIES vs RICKY BAHL is a fun-filled \"ROM-CON\" where a smooth and charming conman, Ricky Bahl, cons girls for a living but finally meets his match. The film will be in theatres worldwide on 9th Dec 2011, the same weekend BAND BAAJA BAARAAT released.", @keywords="Amy, Winehouse, Our, Day, Will, Come:, Tribute, Island, Records, Pop, Hidden, 2011, Between, The, Cheats, Tears, Dry, Wake, Up, Alone, Girl, From, Ipanema, Halftime, Best, Friends, Body, Soul, Tony, Bennett, Song, For, You, VEVOIndia, Talent, Show, Warriors, of, Goja, AMAZING, Got, Factor, Talent Show, Got Talent, jassi, sidhu, 66, evoChild, Family, Infant, Friends, Fun, Parents, School, Live, children, flour, homeschooling, babies, kids, kid, house, food, everywhere, overwhelmed, overwhelming, mom, dad, brothers, brother, snow, first, paint, hair, destroy, trouble, two, three, one, little, small, large, big, Childrens, Preschool, mtmuzicWithout, You, David, Guetta, feat., featuring, Usher, Megan, Nicole, cover, Megannicolesite, lyrics, official, music, video, amasJeff, Dunham, Controlled, Chaos, Achmed, Walter, Peanut, Little, Junior, Bubba, Spark, Insanity, Christmas, Special, Arguing, With, Myself, Father, Son, Beer, Santa, Merry, Bombs, Jingle, Wound, Touching, Flesh, Scary, Scares, Silence, Kill, Keel, marnell, oma, duct, tape, dad, Very, Funny, Nice, Double, Comedy, DVD, TV, kid, child, omg, skeleton, bones, ventriloquist, ventriloquism, stand-up, stand, up, thanksgiving, family, laughing, incredible, jeffdunhamvazquezsounds, los, vazquez, sounds, rolling, in, the, deep, around, world, cover, adele, Adele (singer), Rolling In The Deep, losvazquezsoundsDrake The Motto, Drizzy, Drake, OfficiaFuture, Tony, Montana, Behind, The, Scenes, Epic, Hip, Hop, VEVOMistletoe, Justin, Bieber, mattybraps, mattyb, Christmas, Giveaway, Under the Mistletoe, Mariah, Carey, All I Want For Christmas, Drummer, Boy, Busta, Rymes, Music, Music Video, free, contest, cute, adorable, year, old, rapper, rapping, rap, hiphop, boys, girls, kids, family, children, christmas music, xmas, holiday, holidays, season, holiday season, gifts, gift, christmas present, christmas presents, presents, teen, interest, young, pop, culture, red, green, tween, remix, Merry Christmas, Santa, Clause, Jesus, Christ, Matty, brapsdrake, drizzy, lil, wayne, weezy, stevie, wonder, old, school, new, take, care, headlines, nicki, minaj, rihanna, VEVOhard, and, black, realistic, but, not, real, gun, nigahiga, ryan, higa, guns, infomercial, commercialCrash, Your, Party, Karmin, music, arcade, VEVO, LIFT, AMA, amas, new, media, Amy, Nick, covers, youtubeThe, Factor, 2011, Bootcamp, xfactor, thexfactor, thexfactoruk, Gary, Barlow, Louis, Walsh, Kelly, Rowland, Tulisa, Contostavlos, Simon, Cowell, Cheryl, Cole, Dannii, Minogue, Auditions, funny, singing, competition, tv, talent, reality, uk, england, britain, keys, boys, hot, gorgeous, sexy, men, muscles, five, boyband, boy, band, singers, harmony, harmonies, rap, rapping, take, that, going, home, through, judges, houses, live, show, nerves, movie, movies, night, little, mix, en, vogue, set, it, offshadow of israphel, yogscast, xephos, honeydew, simon, lewis, minecraft, stoneholm, deepcore, skyhold, knight peculier, BlueWe Found Love, Rihanna, Performance, Top 10 Eliminations, xfactor, simon, cowell, tv, the X tor, factor, simon cowell, television, ad, fall, 2011, music, reality, competition, usa, song, twitter, auditions, audition, paula, abdul, nicole, scherzinger, antonio, la, reid, steve, jones, United States, Theshadow of israphel, yogscast, xephos, honeydew, simon, lewis, minecraft, stoneholm, deepcore, skyhold, knight peculier, Blueasdasdags524_chunk_1.mp4, heakzlksio, 23Crash, Your, Party, Karmin, music, arcade, VEVO, LIFT, AMA, amas, new, media, Amy, Nick, covers, youtubeAdele, Set, Fire, To, The, Rain, XL, Recordings/Columbia, Pop, VEVOFoster, The, People, Call, It, What, You, Want, Columbia, Alternative, fosterthepeople, VEVOmichael j. fox, Johnny B. Goode, Miss, Shmitten, KittenReal, Madrid, 6-2, Dinamo, Zagreb, All, Goals, HD, 22/11/2011, vs, full, highlights, Benzema, Ozil, Callejón, Higuain, Beqiraj, Tomecak, Real Madrid CF, Karim Benzema, clhighlights, 2012mw3, modern warfare 3, modern, warfare, mw3 funny, funny, modern warfare 3 funny, mw3 sniping, mw3 parody, this, is, sparta, 300, modern warfare 3 sniping, sniping, sniper, epic, mw3 killcam, call, of, duty, moab, mw3 moab, modern warfare 3 moab, mw3 quad, quad, feed, cod mw3, mw3 gameplay, gauntlet, mw3 the gauntlet, amazingfilms247, new, cod, amazing, 2bucks, Films, 247Alpine, Coaster, Sommer, Rodelbahn, Austria, Roller, Brakes, Alps, white, knuckle, OMG, Ski, pipe, sommerrodelbahn, ECC, achterbahn, davidjellisRanveer, Singh, Anushka, Sharma, Maneesh, Salim, Sulaiman, Amitabh, Bhattacharya, Aditya, Yash, Chopra, Bollywood, India, Hindi, Film, Movie, Indian, Cinema, Studio, Shooting, Acting, Song, Music, Lyrics, Singing, Dance, Action, Funny, Comedy, Fight, Romance, Love, Emotion, Drama, Thrill, Passion, Romantic, Hot, Sexy, Couple, Actor, Actress, Hero, Heroine, Boy, Girl, Promo, Trailer, Hollywood, yrf", @duration=192, @date=2011-11-18 10:18:18 +0000, @thumbnail_small="http://i.ytimg.com/vi/CxYRbzGi8Rg/1.jpg", @thumbnail_large="http://i.ytimg.com/vi/CxYRbzGi8Rg/0.jpg", @view_count=1081026>>
```