- Properly instanciate HTMLHelper
[videosite.git] / videosite / CollegeHumorGrabber.pm
index 192ece5..d747922 100644 (file)
@@ -64,7 +64,7 @@ sub _parse {
     # The XML does not contain the full title of the video, for
     # reasons possibly known to some jerk at CollegeHumor.
     # So we'll have to parse the actual HTML, too.
-    $p = HTMLHelper->new();
+    $p = videosite::HTMLHelper->new();
     unless(defined($content = $p->load(sprintf('http://www.collegehumor.com/video:%s', $2)))) {
         $self->error('Could not download HTML');
         return undef;