- Add a fallback parser in case Parse::Lex is not available
[videosite.git] / videosite / YouTubeGrabber.pm
index 2ed52a7..644584a 100644 (file)
@@ -111,6 +111,8 @@ sub _parse {
 
                 $self->debug("Found SWF_ARGS: %s", $args);
                 $jsp = videosite::JSArrayParser->new();
+                print ref($jsp);
+                $self->debug("Using %s to parse", ref($jsp));
                 $r = $jsp->parse($args);
 
                 unless(defined($r)) {