I am trying to log out the images on a webpage and it does not work.
I have tried.
console.log 'client image ' + client.images() // Crashes server
console.log 'client image ' + client.image() // undefined
Here is the code I am using:
client = new MetaInspector('http://cnn.com', {})
client.on 'fetch', ->
console.log 'client image ' + client.images
console.log 'client links ' + client.links().join(",")
client.fetch()
console.logging out client.description() & client.links() seems to work fine.
I am trying to log out the images on a webpage and it does not work.
I have tried.
Here is the code I am using:
console.logging out client.description() & client.links() seems to work fine.