]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - lib/whatever-dl/websites/motherless.rb
Fix the motherless video URL regex.
[dead/whatever-dl.git] / lib / whatever-dl / websites / motherless.rb
index ab74fc0b07a883e065cf271e66a20cbef07faa15..8a49f1c809c2cfb997a0b1b3af34ec3c35a661f2 100644 (file)
@@ -16,7 +16,7 @@
 # http://www.fsf.org/licensing/licenses/gpl.html
 #
 
-require 'src/website'
+require 'whatever-dl/website'
 
 class Motherless < Website
 
@@ -43,9 +43,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\', \'(http.*?\.flv)\'/i
+    video_url_regex = /file: \'(http.*?\.flv)\'/i
     matches = video_url_regex.match(page_data)
 
     if matches.nil?