From: Michael Orlitzky Date: Sun, 30 Aug 2009 02:47:10 +0000 (-0400) Subject: Added support for a second filename pattern to the Efukt class. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=commitdiff_plain;h=b9ebb66dc6ba56534eaa8280e6220ade7190757d Added support for a second filename pattern to the Efukt class. Created a fixture and a test case for the new pattern. --- 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 +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
+ +
+ +