maaaaz / webscreenshot

A simple script to screenshot a list of websites
GNU Lesser General Public License v3.0
653 stars 162 forks source link

workaround for 403 or Forbidden #47

Closed arbazkiraak closed 4 years ago

arbazkiraak commented 4 years ago

https://stackoverflow.com/questions/59954122/phantomjs-page-render-blank-white-background-image-on-403

maaaaz commented 4 years ago

Hello @arbazkiraak, I don't have a magic solution but some ideas:

Cheers.

arbazkiraak commented 4 years ago

I don't think second option would be considered as a solution.

If you have a better way to tackle the problem within the script then please do push a workaround into the current script.

arbazkiraak commented 4 years ago

@maaaaz ,

Any update for this?

maaaaz commented 4 years ago

Absolutely not

arbazkiraak commented 4 years ago

Can you explain to me the reason why Phantomjs exits for the status code 403?

I have been looking for the reasons but I hadn't found it anywhere documented

maaaaz commented 4 years ago

I really don't know, try to investigate around the ContentOperationNotPermittedError error. And can you try to debug with the Cloud version of PhantomJS ?