]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/commitdiff
Fix the hashlink parsing for Redtube.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 16 Jan 2011 21:18:54 +0000 (16:18 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 16 Jan 2011 21:18:54 +0000 (16:18 -0500)
src/websites/redtube.rb

index f65e8ad2d16fe5a2ae6018bf45153907c662d917..825a4ea727c9d476b20925cb18a855dfa328302f 100644 (file)
@@ -42,7 +42,7 @@ class Redtube < Website
 
 
   def parse_hashlink(page_data)
-    hashlink_regex = /hashlink=([^"]+)"/
+    hashlink_regex = /hashlink=([^&]+)&/
 
     matches = hashlink_regex.match(page_data)