From: Michael Orlitzky Date: Sun, 16 Jan 2011 21:18:54 +0000 (-0500) Subject: Fix the hashlink parsing for Redtube. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f1d848bba50556746c3fb28f854ffee09b6f2d0c;p=dead%2Fwhatever-dl.git 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)