X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=lib%2Fwhatever-dl%2Fwebsites%2Fmotherless.rb;h=8a49f1c809c2cfb997a0b1b3af34ec3c35a661f2;hb=HEAD;hp=ab74fc0b07a883e065cf271e66a20cbef07faa15;hpb=6de408333ceb0d142f8fa0fef2571228e89c8fc1;p=dead%2Fwhatever-dl.git diff --git a/lib/whatever-dl/websites/motherless.rb b/lib/whatever-dl/websites/motherless.rb index ab74fc0..8a49f1c 100644 --- a/lib/whatever-dl/websites/motherless.rb +++ b/lib/whatever-dl/websites/motherless.rb @@ -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?