From 3f39516bb679132456f28c31f962e7539053cd57 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 3 Jun 2011 21:05:35 -0400 Subject: [PATCH] Update the Motherless class for their new Flash variable scheme. --- src/websites/motherless.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websites/motherless.rb b/src/websites/motherless.rb index a5b59b2..c6095a0 100644 --- a/src/websites/motherless.rb +++ b/src/websites/motherless.rb @@ -41,7 +41,7 @@ class Motherless < Website def parse_video_url(page_data) # If neither of the source formats are present, just grab the # video URL from the Flash variable and be done with it. - video_url_regex = /file=(.*?\.flv)&/i + video_url_regex = /\'file\', \'(http.*?\.flv)\'/i matches = video_url_regex.match(page_data) if matches.nil? -- 2.43.2