]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/commitdiff
Fix the motherless video URL regex.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 14 Oct 2012 21:57:26 +0000 (17:57 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 14 Oct 2012 21:57:26 +0000 (17:57 -0400)
lib/whatever-dl/websites/motherless.rb

index ebfef0830db0095e40bd36b579fe4d9c8e1db674..8a49f1c809c2cfb997a0b1b3af34ec3c35a661f2 100644 (file)
@@ -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?