]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - src/websites/motherless.rb
Update the Motherless class for their new Flash variable scheme.
[dead/whatever-dl.git] / 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?