From b9ebb66dc6ba56534eaa8280e6220ade7190757d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 29 Aug 2009 22:47:10 -0400 Subject: [PATCH] Added support for a second filename pattern to the Efukt class. Created a fixture and a test case for the new pattern. --- src/websites/efukt.rb | 11 +- test/efukt_test.rb | 11 + .../fixtures/efukt/1592_Riding_Bear_Back.html | 246 ++++++++++++++++++ 3 files changed, 267 insertions(+), 1 deletion(-) create mode 100644 test/fixtures/efukt/1592_Riding_Bear_Back.html diff --git a/src/websites/efukt.rb b/src/websites/efukt.rb index 27d2099..38b5913 100644 --- a/src/websites/efukt.rb +++ b/src/websites/efukt.rb @@ -60,11 +60,20 @@ class Efukt < Website # Get the FLV file URL from the HTML page for this movie. # It's stored in some Flash variable. def parse_video_url(page_data) + # There are two formats; try them both one at a time. video_url_regex = /&file=(http:\/\/.*\.flv)&/i matches = video_url_regex.match(page_data) + if not (matches.nil? || matches.length < 2) + return matches[1] + end + + # If we didn't return a match already, try the second format. + video_url_regex = / + + + +eFukt.com - porn you wish you never saw - Riding Bear Back + + + + + + + + + + + + + + + + + + + +
+
+
THIS SITE IS STRICTLY FOR ADULTS. IF YOU ARE NOT 18 THEN GET THE FUCK OUT!
+ +
+
+

DATING

+
+
+ + + + +
+ +
+
+

WTF

+
+
+
+
+
+ + + +
+ + + + + + + + + + +
MOLESTED BY MALE STRIPPERS
+
+ +
+

"Riding Bear Back"

+
This is probally the most fucked up thing I'll ever post here. This shit is fucking lame...
+
+ + + + + + + + + +
Download: + HQ AVI   + HQ WMV   + IPOD/PSP   + Normal
+ Watch: High Definition

+ +
------------------------------------- RANDOM VIDS -------------------------------------
+
Stump Grinder +Sexual Telekinesis +Orgasm Renders Wife Unconscious +This Hooker Hates Anal Sex +Fucked Up Gameshow +LOL I Made My Wife Prolapse +
Alice In Wonderland 2 +Masterbation Lessons +Fucked Up Gameshow 7 +Entire Dress Inserted Into Vagina +Search Her Pussy For Drugs +Pornstar Attacks Male Performer +
+ +
------------------------------- FUCKED UP FAVORITES -------------------------------
+
Crazy Strip Club Sex +Ouch! It Hurts! +Black Stripper Party +Is This Your Mom? +Molested By Black Strippers +Molested By Black Strippers 2 +
Deaf Girl Still Wants To Be A Pornstar +Stripper Attacked By Granny +Deaf Girl Wants To Be A Pornstar +Girls Should Never Go To This Club +The Bilingual Whore +Pornstar Cant Stop Orgasming +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
+ +
+ + -- 2.44.2