From: Michael Orlitzky Date: Sat, 4 Jun 2011 01:05:35 +0000 (-0400) Subject: Update the Motherless class for their new Flash variable scheme. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=commitdiff_plain;h=3f39516bb679132456f28c31f962e7539053cd57 Update the Motherless class for their new Flash variable scheme. --- 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?