argument('url')); try { $this->info(json_encode($parser->parse(), true)); } catch (InvalidArgumentException $e) { $this->error($e->getMessage()); } return 0; } }