From f5ccab0be24345c14dd0da5cb152a44776fb1b6a Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 23 Jul 2010 18:37:42 -0400 Subject: [PATCH] Remove the Youtube fixtures and format parsing tests until they can be updated. --- test/fixtures/youtube/BUer8Dv2HW8.html | 3100 ------------------------ test/fixtures/youtube/K9iDMcmm0tE.html | 2007 --------------- test/fixtures/youtube/SudixyugiX4.html | 1916 --------------- test/fixtures/youtube/cpU27Xp8zdM.html | 925 ------- test/youtube_test.rb | 59 - 5 files changed, 8007 deletions(-) delete mode 100644 test/fixtures/youtube/BUer8Dv2HW8.html delete mode 100644 test/fixtures/youtube/K9iDMcmm0tE.html delete mode 100644 test/fixtures/youtube/SudixyugiX4.html delete mode 100644 test/fixtures/youtube/cpU27Xp8zdM.html diff --git a/test/fixtures/youtube/BUer8Dv2HW8.html b/test/fixtures/youtube/BUer8Dv2HW8.html deleted file mode 100644 index 5082633..0000000 --- a/test/fixtures/youtube/BUer8Dv2HW8.html +++ /dev/null @@ -1,3100 +0,0 @@ - - - - - - - - - - YouTube - - HD: Hippo Fight - Nature's Great Events: The Great Flood - BBC One - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
- Close - -
- - Help the victims of the recent Haiti earthquake. Click here to donate. - -
- -
- -
-
-
-
- - - - -
- - Create Account - or - Sign In - -
- - -
- -
-
- -
- - - - - - - - - - - - - - -
- -
- -
- -
Change Player Size
-
-
- -
Watch this video in a new window
-
- - -
-
- - -

HD: Hippo Fight - Nature's Great Events: The Great Flood - BBC One

- - -
- -
- - - - - -
-
-
- - -
-
- -
- - - - - -
- - - - - - - - - - - - - - -
-
- - -
- Channel Icon -
- -
- -
- Subscribe -
- - - -
- - - -
- BBC
-
-
-
- (more info) -
- -
- -
- -
-
- - - - - - -
- - -
- - -
- -
- Playlist: http://www.youtube.com/view... -Find out more: http://www.bbc.co.uk/nature... -The great flood in the Okavango turns 4,000 square miles of arid plains into a beautiful wetland. Elephant mot...   -
-
- - - - -
-
-
- - -
-
-
- - -
-
- -
 
- - - -
Customize
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - -
- - - - - - - -
-
- - - -
-
-
-Series - (19) -
-
-
-More From Channel -
-
- -
-
-
- - Play All - - - Stop Autoplaying - - | - - Play Next - -
-
-
- - -
- -
- - 1:15 - -
-
- - -
- -
- - 1:29 - -
-
- - -
- -
- - 0:46 - -
-
- - -
- -
- - 0:37 - -
-
- - -
- -
- - 1:11 - -
-
- - -
- -
- - 1:10 - -
-
- - -
- -
- - 1:16 - -
-
- - -
- -
- - 1:12 - -
-
- - -
- -
- - 0:38 - -
-
- - -
- -
- - 0:58 - -
-
- - -
- -
- - 1:26 - -
-
- - -
- -
- - 1:18 - -
-
- - -
- -
- - 1:46 - -
-
- - -
- -
- - 3:24 - -
-
- - -
- -
- - 1:20 - -
-
- - -
- -
- - 1:15 - -
-
- - -
- -
- - 1:24 - -
-
- - -
- -
- - 0:48 - -
-
- - -
- -
- - 1:12 - -
-
- - - - - - - -
-
-
-
-
-
- -HD: Bait Ball Feast - Nature's Great Events: The Great Feast - BBC One1:15 -
- -
210,559 views
- -
-
-
- -
- -HD: Polar Bear on Thin Ice - Nature's Great Events: The Great Melt - BBC One1:20 -
- -
88,753 views
- -
-
-
- -
- -Big Cat Live catches a lion kill live on its web cams - BBC One1:00 -
- -
79,396 views
- -
-
-
- -
- -Web Extra: Commitment to the Cause - Nature's Great Events - BBC One0:48 -
- -
32,669 views
- -
-
-
- -
- -Web Extra: Jeff and the Bears - Nature's Great Events - BBC One1:12 -
- -
14,740 views
- -
-
-
- -
- -HD: Super Slo-mo Surfer! - South Pacific - BBC Two1:05 -
- -
1,595,425 views
- -
-
-
- -
- -HD: Fox Snow Dive - Yellowstone - BBC Two0:59 -
- -
1,149,152 views
- -
-
-
- -
- -HD: Tuna Fishing - South Pacific - BBC Two2:20 -
- -
40,912 views
- -
-
-
- -
- -HD: Leopard Vs Porcupine - Nature's Great Events: The Great Flood - BBC One0:46 -
- -
44,173 views
- -
-
-
- -
- -HD: Wildebeast return to grassland plains - Nature's Great Events: The Great Migration - BBC One1:12 -
- -
42,896 views
- -
-
-
- -
- -HD: Grizzly Bears Catching Salmon - Nature's Great Events: The Great Salmon Run - BBC One1:26 -
- -
259,123 views
- -
-
-
- -
- -HD: Leaping Lechwe - Nature's Great Events: The Great Flood - BBC One1:10 -
- -
34,936 views
- -
-
-
- -
- -HD Web Extra: Super Slo Mo of Bear shaking water off its fur - Nature's Great Events - BBC One0:58 -
- -
119,488 views
- -
-
-
- -
- -HD: Lioness Hunts Zebra - Nature's Great Events: The Great Migration - BBC One0:38 -
- -
101,663 views
- -
-
-
- -
- -HD: 'Ice Skating' Polar Bears - Nature's Great Events: The Great Melt - BBC One1:15 -
- -
208,581 views
- -
-
-
- -
- -Mysterious Puncture Wounds - Being Human - Series 2 Episode 2 Preview - BBC Three1:18 -
- -
306 views
- -
-
-
- -
- -Night Hunting - Natural World 2009-2010: Secret Leopards - Preview - BBC Two2:09 -
- -
308 views
- -
-
-
- -
- -Pop Dance Routine (Female) - So You Think You Can Dance - BBC One10:41 -
- -
1,203 views
- -
-
-
- -
- -Your Mum! - The Persuasionists Episode 1 Preview - BBC Two1:34 -
- -
1,148 views
- -
-
-
- -
- -Pop Dance Routine (Male) - So You Think You Can Dance - BBC One10:43 -
- -
541 views
- -
-
-
- - - - -
- -
-
-
- - - - - - - - - -
- -
-
- - Play All - - - Stop Autoplaying - - | - - - Play Next - -
- - - -

- - QuickList(0) -

- - - - - -
-
-
- -
- - - - -
-
- - - - - - -
-
- - -
- - Clear | - Save - -
- -
-
- - - - - - - - - - - - - - - -
-

Featured Videos

-
-
-
- -The Apology Line43:16 -
- -
2,283 views
- - -
-
-
- -
-
-
- -YouTube Direct1:40 -
- -
114,876 views
- - -
-
-
- -
- -
-
-
- - -
- - -
- -
-Upgrade to Flash Player 10 for improved playback performance. Upgrade Now or get more info. - -
- - - - - - - - - - - - - -
-
- - - - -
-
83 ratings
Sign in to rate
- -
- - -
- 69,011 views - -
- - - -
-
- - - - - - -
-
- - -
-
-
- - -
-
- -
-
- -
-
- -
- - -
-
- - -
- - - - - -
- - - - - - -
- - Want to add to Favorites? - Sign In or Sign Up now! - - -
- -
-
-
- -
- - - -
- - Want to add to Playlists? - Sign In or Sign Up now! - - -
- -
-
-
- -
-
- - Want to flag a video? - Sign In or Sign Up now! - - -
- -
- -
- - - - -
-
-
-
- - - - - - - -
-

- -Statistics & Data -

-
-Loading... -
-
- - - - -
- - -

- -Video Responses - (0) -

- -
-This video has no Responses. Be the first to Post a Video Response. -
-
-
- - - - -
-
- Sign in to post a Comment -
- -

- -Text Comments - (53) -   - Options -

- -
-
-
Loading...
-
- -
-
-
- - - - - - - - - - - - - -
- - - - -
- -
- Medracin - (5 days ago) - - Show - Hide -
-
- -  0 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - O.O Look at the blood pouring off at 0:43! Scary! I would hate to be a hippo at that time :P -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- Alabamahotpocketify - (1 week ago) - - Show - Hide -
-
- -  0 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - similar to thumb wars -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- gavain788 - (1 week ago) - - Show - Hide -
-
- -  0 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - @Alabamahotpocketify this is fakeer then my bewbs -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- zakor33 - (1 week ago) - - Show - Hide -
-
- -  0 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - reminds me of a saturday night seeing 2 fat women fighting... -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- Kennyciserojr - (1 week ago) - - Show - Hide -
-
- - +1 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - Did anyone else hear the hippo laugh creepily at 0:50? -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- SuckXmyXchickeN - (2 weeks ago) - - Show - Hide -
-
- - +2 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - FATALITY! -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- iceeamit - (2 weeks ago) - - Show - Hide -
-
- - +1 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - da mate they're fighting over must be peng if they're fighting that much -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- Unbravo - (3 weeks ago) - - Show - Hide -
-
- -  0 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - dinasor -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- barrietorontowindsor - (3 weeks ago) - - Show - Hide -
-
- -  0 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - GO LEFT HIPPO!!! BITE HIS HEAD OFF! -
-
-
-
- - - - - -
- - - - - - - - -
- - - - -
- -
- NitsuaNaed - (4 weeks ago) - - Show - Hide -
-
- - +1 - - - - - -
- - - - Marked as spam -
- Reply - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - HIPPO FIGHT! -
-
-
-
- - - - - -
- - - - - - -
-
- - - - - - - - - - - -
-

Would you like to comment?

-
-Join YouTube for a free account, or - sign in if you are already a member. -
-
-
-
-
- -
-
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/test/fixtures/youtube/K9iDMcmm0tE.html b/test/fixtures/youtube/K9iDMcmm0tE.html deleted file mode 100644 index d30d71d..0000000 --- a/test/fixtures/youtube/K9iDMcmm0tE.html +++ /dev/null @@ -1,2007 +0,0 @@ - - - - - - - - - - YouTube - Icon The Mic King - Blind Folded Freestyle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- - -
- -
- - - -
- -
- -
-
Loading...
-
- -
-
-
- - - - - - - - -
-
Icon The Mic King - Blind Folded Freestyle
-
- -
-
-
- - -
-
- - - - - -
-
-
Rate:
- - - - -
4.0
8 ratings
Sign in to rate
- -
- -
-
- Views: - 1,773 -
- - - -
-
- -
-
- -
- - - - - - - -
- - Share - Share - - - - Favorite - Favorite - - - - Add to Playlists - Playlists - - - - Report video as inappropriate - Flag - -
-
-
-
- -
This video will appear on your blog shortly.
-
Loading...
-
Loading...
-
Loading...
-
Loading...
-
Thank you for sharing this video!
- -
-
-
-
- - - - -
-
-
Saving...
-
-
- - - - -
-
-
-
- -
 
- This video has been added to your favorites.

-
-
- -
 
- This video has been removed from your favorites.

-
-
- -
-
-
- Want to add to Favorites?
- Sign in to YouTube now! -
- - Sign in with your Google Account! - - -
- -
-
-
-
Loading...
-
The video has been added to your playlist.
-
-
-
- Want to add to Playlists?
- Sign in to YouTube now! -
- - Sign in with your Google Account! - - -
- -
-
-
-
Loading...
-
-
-
-
- Want to flag a video?
- Sign in to YouTube now! -
- - Sign in with your Google Account! - - -
- -
-
-
-
- - - - - -
- - - - - -
- Commentary - - Statistics & Data -
-
-
-
- Video Responses: 0 - Text Comments: 11 -
- -
- - Video Responses (0) -
- This video has no Responses. Be the first to Post a Video Response. -
-
- -
-
- Sign in to post a Comment -
- Text Comments (11) - -
-
-
-
-
- Show: - - - Help - - Change this to see only comments above a certain value.
Change the value of a comment by clicking on a thumb. -
-
-
-
- -
- -
- -
- - - - - - - -
- - -
-
- MainOffenderKZ - (1 month ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- but i dont know that mc, he's kickin the shit"! -
-
-
- - -
- - - -
- - -
-
- MainOffenderKZ - (1 month ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- this shit is FIRE! -
-
-
- - -
- - - -
- - -
-
- Backawp - (3 months ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- haha i was there, it was completly insane haha, ''i dont know what that is, but thats a fucking 40!'' ''im a black guy, now im stealing your fuckign rolex!'' -
-
-
- - -
- - - -
- - -
-
- wino8 - (5 months ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- wow that mediocre shitty emcee had the balls to diss supernatural. lmao -
-
-
- - -
- - - -
- -
- -
-
- bacon03 - (3 days ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- iCON is a rap gawd. -
-
-
- -
- -
- - - -
- - -
-
- fraicheur0013 - (6 months ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- Was is in Montreal? -
-
-
- - -
- - - -
- -
- -
-
- beekeeper514 - (6 months ago) - Show - Hide -
- - Marked as spam -
- Reply - - - - - -
- -
-
-
-
- yes -
-
-
- -
- -
- - - -
- -
- -
-
- fraicheur0013 - (6 months ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- I was there :)
Thanx for posting it coz this was ill -
-
-
- -
- -
- - - -
- - -
-
- BringDaRuckusCZ - (6 months ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- iCON on the Hip Hop Kemp '07 = Best show i ever seen!! -
-
-
- - -
- - - -
- - -
-
- bigbodythugg - (7 months ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- If i c u, ill put yo head in the toilet, scrapp yo brushes breaking your teeth
And make u eat yo stupid nerds glasses with your comic books -
-
-
- - -
- - - -
-
- -Next -
- -
- Pages: - 1 - 2 -  ...  - -
-
-
- - -
- - - -
-

Would you like to comment?

-
- Join YouTube for a free account, or - sign in if you are already a member. -
-
- -
-
-
- - -
-
- - - - - - - - - - - -
Views: 1,773Ratings: 8
Responses: 0Comments: 11 - Favorited: 15 times -
- - - - - - -
-
- Honors for this video -
-
- - Loading... -
-
-
-
- Sites linking to this video -
-
- - Loading... -
-
-
-
- - - -
-
-
- -
- -
- - -
-
-
- Channel Icon -
- - -
- From: beekeeper514
- Joined: 2 years ago
- Videos: 21 -
-
-
-
- - - -
-
- -
-
- Added: - - (More info) -
- -
- Icon The Mic King blind folds him self and gets... -
-
- -
-
- Added: - - (Less info) -
- -
- Icon The Mic King blind folds him self and gets a girl to pass him objects from the crowed and tells you what they are and raps about them -
- -
- Category:  - Music -
- -
-
- Tags:  -
-
- Icon  - The  - Mic  - King  - Blind  - Folded  - Freestyle  - Hip  - Hop  - Rap  - Montreal  -
-
-
- - -
-
- - -
-
-
- - -
-
- -
-
-   -
-
-
-
- -
-
-
-
- -
Loading...
- -
- - - -
- - - -
- - - -
- - - - - -
-
- More From: beekeeper514 -
-
Loading...
-
-
- -
- - -
-
-
- - Play All - - - Stop Autoplaying - - | - - Play Next - -
- - - QuickList (0) - - -
-
- - - - - - - - - - -
-
- -
- - Clear | - Save - -
- -
- -
- - - - -
- Promoted Videos -
-
- - - -
- -
Life Slices - Haunted Bedroom
- - - - - 00:49 - - -
- -
-
- - - -
- -
Malibu U Promo Reel (High Res)
- - - - - 01:06 - -
- EgoTV
-
-
- -
-
- - - -
- -
Diane Von Furstenberg & Frederic Fekkai - Fashion Week 2008
- - - - - 02:09 - - -
- -
-
- - - -
- -
Cock-Eating Fish | Wicked Pissers Ep. 4
- - - - - 03:45 - - -
- -
-
-
-
- - - -
- - - - -
- - - - -
- - - - - - - - \ No newline at end of file diff --git a/test/fixtures/youtube/SudixyugiX4.html b/test/fixtures/youtube/SudixyugiX4.html deleted file mode 100644 index 80688bc..0000000 --- a/test/fixtures/youtube/SudixyugiX4.html +++ /dev/null @@ -1,1916 +0,0 @@ - - - - - - - - - - YouTube - Domino Domino Logic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- - -
- -
- - - -
- -
- -
-
Loading...
-
- -
-
-
- - - - - - - - -
-
Domino Domino Logic
-
- -
-
-
- - -
-
- - - - - -
-
-
Rate:
- - - - -
4.5
557 ratings
Sign in to rate
- -
- -
-
- Views: - 141,905 -
- - - -
-
- -
-
- -
- - - - - - - -
- - Share - Share - - - - Favorite - Favorite - - - - Add to Playlists - Playlists - - - - Report video as inappropriate - Flag - -
-
-
-
- -
This video will appear on your blog shortly.
-
Loading...
-
Loading...
-
Loading...
-
Loading...
-
Thank you for sharing this video!
- -
-
-
-
- - - - -
-
-
Saving...
-
-
- - - - -
-
-
-
- -
 
- This video has been added to your favorites.

-
-
- -
 
- This video has been removed from your favorites.

-
-
- -
-
-
- Want to add to Favorites?
- Sign in to YouTube now! -
- - Sign in with your Google Account! - - -
- -
-
-
-
Loading...
-
The video has been added to your playlist.
-
-
-
- Want to add to Playlists?
- Sign in to YouTube now! -
- - Sign in with your Google Account! - - -
- -
-
-
-
Loading...
-
-
-
-
- Want to flag a video?
- Sign in to YouTube now! -
- - Sign in with your Google Account! - - -
- -
-
-
-
- - - - - -
- - - - - -
- Commentary - - Statistics & Data -
-
-
-
- Video Responses: 0 - Text Comments: 180 -
- -
- - Video Responses (0) -
- This video has no Responses. Be the first to Post a Video Response. -
-
- -
-
- Sign in to post a Comment -
- Text Comments (180) - -
-
-
-
-
- Show: - - - Help - - Change this to see only comments above a certain value.
Change the value of a comment by clicking on a thumb. -
-
-
-
- -
- -
- -
- - - - - - - -
- - -
-
- cyborgtroy - (1 week ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- I think I tried to do this sort of thing once. AND gates rather befuddled me.

And how would NOT work? -
-
-
- - -
- - - -
- - -
-
- jefersonrod - (2 weeks ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- awesome -
-
-
- - -
- - - -
- - -
-
- Tehw00tz - (2 weeks ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- Jesus you must have a lot of patience to be able to knock those dominos down and put them back up just to knock them down again -
-
-
- - -
- - - -
- - -
-
- iamneuron - (3 weeks ago) - Show - Hide -
-
- -  -2 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- Where is NAND? -
-
-
- - -
- - - -
- -
- -
-
- TiCLer - (2 weeks ago) - Show - Hide -
-
- - +2 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- Lurk moar! -
-
-
- -
- -
- - - -
- - -
-
- smasher32 - (3 weeks ago) - Show - Hide -
-
- -  -3 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- dont quite understand the logic behind it, but seems interesting. -
-
-
- - -
- - - -
- - -
-
- MBieroegel - (3 weeks ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- Yeah cool... now i know, how it work's ;-) -
-
-
- - -
- - - -
- - -
-
- AnotherGlenn - (3 weeks ago) - Show - Hide -
-
- - +3 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- LOL, nerdier than me :) -
-
-
- - -
- - - -
- - -
-
- thailsoff - (3 weeks ago) - Show - Hide -
-
- - +3 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- O my f***ing GOD ! the Xor is PERFECT ! lol ! very very good movie. -
-
-
- - -
- - - -
- - -
-
- smartinp - (3 weeks ago) - Show - Hide -
-
- - 0 - - Poor comment - Good comment - -
- - - Marked as spam -
- Reply - - - - - - -
- -
-
-
-
- WOW xD -
-
-
- - -
- - - -
-
- -Next -
- -
- Pages: - 1 - 2 - 3 -  ...  - -
-
-
- - -
- - - -
-

Would you like to comment?

-
- Join YouTube for a free account, or - sign in if you are already a member. -
-
- -
-
-
- - -
-
- - - - - - - - - - - -
Views: 141,905Ratings: 557
Responses: 0Comments: 180 - Favorited: 575 times -
- - - - - - -
- Honors for this video (0) -
-
Loading...
-
-
- - -
- Sites linking to this video (5) -
- -
-
-
Clicks
-
URL
-
-
- -
7,590
- -
-
5,955
- -
-
5,763
- -
-
4,691
- -
-
3,874
- -
-
- -
-
-
- - - -
-
-
- -
- -
- - -
-
-
- Channel Icon -
- - -
- From: Odo987
- Joined: 2 years ago
- Videos: 5 -
-
-
-
- - - -
-
- -
-
- Added: - - (More info) -
- -
- Create OR, AND and XOR gates out of dominoes. ... -
-
- -
-
- Added: - - (Less info) -
- -
- Create OR, AND and XOR gates out of dominoes. Replacement for TTL and CMOS.

http://neil.fraser.name/
-
- -
- Category:  - Science & Technology -
- -
-
- Tags:  -
-
- Domino  - Boolean  - Logic  - And  - Or  - Xor  -
-
-
- - -
-
- - -
-
-
- - -
-
- -
-
-   -
-
-
-
- -
-
-
-
- -
Loading...
- -
- - - -
- - - -
- - - -
- - - - - -
-
- More From: Odo987 -
-
Loading...
-
-
- -
- - -
-
-
- - Play All - - - Stop Autoplaying - - | - - Play Next - -
- - - QuickList (0) - - -
-
- - - - - - - - - - -
-
- -
- - Clear | - Save - -
- -
- -
- - - - -
- Promoted Videos -
-
- - - -
- -
Happy Tree Friends - Ka-Pow! Coming Soon
- - - - - 00:36 - - -
- -
-
- - - -
- -
FANalysts Intro Video - Fantasy Football Advice and Analysis
- - - - - 01:54 - -
- FANALYSTS
-
-
- -
-
- - - -
- -
Inside the Tent: Pedicab Confessions
- - - - - 02:26 - - -
- -
-
- - - -
- -
The House Bunny CosmoGIRL Shoot
- - - - - 01:58 - -
- CosmoGirl
-
-
- -
-
-
-
- - - -
- - - - -
- - - - -
- - - - - - - - \ No newline at end of file diff --git a/test/fixtures/youtube/cpU27Xp8zdM.html b/test/fixtures/youtube/cpU27Xp8zdM.html deleted file mode 100644 index 8a455d8..0000000 --- a/test/fixtures/youtube/cpU27Xp8zdM.html +++ /dev/null @@ -1,925 +0,0 @@ - - - - - - - - - YouTube - - i burn. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
-
- - - - - - - -
-
- - -
- - - -
-
- - -

- - - i burn. - -

- -
- afkmusic - - - -8 videos - - - - - -
- - -
- -
- -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
-
- -
-
-
-
-
-
- - 204,558
views
- - -
-
- - 204,558
views -
-
- -
-
- - - afkmusic - - January 18, 2010 - — - - Discussing the laws of thermodynamics. - -
-
-
- afkmusic - - January 18, 2010 - — - - Discussing the laws of thermodynamics. - -
- Category: - Comedy -
- -
- Tags: -
- thermodynamics  - burn  - bixa  - muda  - oh  - fuck  - what  - is  - that  - dinosaur  - shit  - holy  - dick  - the  -
-
- - -
-
-
-
- - -
-
-
Loading...
-
-
- - - - - - -
- -
-
-
-   -
- -  - -  - -
-
-
- - - - - - - - - -
-
- -
-
- -
-
-
-
- Sign In or Sign Up now! - - -
-
- - - - - Adding comments has been disabled for this video. - -
-
- -
-

- - -Results for: - -

-
-
-
Loading...
-
-
- -
-
-
- -
- - - - - - -
-

- -Queue (0) -

-
-
-
Loading...
-
-
Loading...
-
-
- - - -
-
- -
-
- -
-
-
-
-
- - - -
-
- - - -
- - - - - - -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/test/youtube_test.rb b/test/youtube_test.rb index 233f31b..bcb350d 100644 --- a/test/youtube_test.rb +++ b/test/youtube_test.rb @@ -63,65 +63,6 @@ class YoutubeTest < Test::Unit::TestCase end - def test_get_available_formats - # Make sure that we can parse the available formats from a page. - yt = Youtube.new(nil) - - page_data = nil - - File.open('test/fixtures/youtube/BUer8Dv2HW8.html') do |f| - page_data = f.read - end - - actual_formats = yt.send('get_available_formats', page_data) - expected_formats = [ 37, 22, 35, 18, 34, 5 ] - - # Make sure that all of the elements of the "expected" set are in - # the "actual" set and vice-versa. - assert_equal([], expected_formats - actual_formats) - assert_equal([], actual_formats - expected_formats) - end - - - def test_get_available_formats_from_url - # Tests a different regex than the other available formats test. - yt = Youtube.new(nil) - - page_data = nil - - File.open('test/fixtures/youtube/cpU27Xp8zdM.html') do |f| - page_data = f.read - end - - actual_formats = yt.send('get_available_formats', page_data) - expected_formats = [ 34, 5 ] - - # Make sure that all of the elements of the "expected" set are in - # the "actual" set and vice-versa. - assert_equal([], expected_formats - actual_formats) - assert_equal([], actual_formats - expected_formats) - end - - - def test_get_desired_format - # The get_desired_format() method should choose the best of the - # available formats. - yt = Youtube.new(nil) - - page_data = nil - - File.open('test/fixtures/youtube/BUer8Dv2HW8.html') do |f| - page_data = f.read - end - - available_formats = yt.send('get_available_formats', page_data) - actual_result = yt.send('get_desired_format', available_formats) - expected_result = 37 - - assert_equal(expected_result, actual_result) - end - - def test_get_video_filename yt = Youtube.new('http://www.youtube.com/watch?v=SudixyugiX4') expected_result = 'SudixyugiX4.flv' -- 2.44.2