From: Michael Orlitzky Date: Sun, 14 Oct 2012 21:57:26 +0000 (-0400) Subject: Fix the motherless video URL regex. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=commitdiff_plain;h=6fa93b506bcc9b124ed8d5ac75c5022f68b536d3 Fix the motherless video URL regex. --- diff --git a/lib/whatever-dl/websites/motherless.rb b/lib/whatever-dl/websites/motherless.rb index ebfef08..8a49f1c 100644 --- a/lib/whatever-dl/websites/motherless.rb +++ b/lib/whatever-dl/websites/motherless.rb @@ -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?