]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/commitdiff
Update the Motherless class for their new Flash variable scheme.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 4 Jun 2011 01:05:35 +0000 (21:05 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 4 Jun 2011 01:05:35 +0000 (21:05 -0400)
src/websites/motherless.rb

index a5b59b2d709b2aa48d88a4573167caf73ec505df..c6095a0a4e3645e8f4b2d1700aa6ace7bea3d273 100644 (file)
@@ -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?