From: Michael Orlitzky Date: Sun, 16 Jan 2011 21:18:54 +0000 (-0500) Subject: Fix the hashlink parsing for Redtube. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=commitdiff_plain;h=f1d848bba50556746c3fb28f854ffee09b6f2d0c Fix the hashlink parsing for Redtube. --- diff --git a/src/websites/redtube.rb b/src/websites/redtube.rb index f65e8ad..825a4ea 100644 --- a/src/websites/redtube.rb +++ b/src/websites/redtube.rb @@ -42,7 +42,7 @@ class Redtube < Website def parse_hashlink(page_data) - hashlink_regex = /hashlink=([^"]+)"/ + hashlink_regex = /hashlink=([^&]+)&/ matches = hashlink_regex.match(page_data)