capture-website-api icon indicating copy to clipboard operation
capture-website-api copied to clipboard

please update fetch with cors version

Open darwinprayoga opened this issue 3 years ago • 5 comments

darwinprayoga avatar Aug 12 '22 04:08 darwinprayoga

Hi @darwinprayoga 👋

Unfortunately the issue title is not clear to me. Can you perhaps describe a use-case of what you're trying to achieve with this project? Or something that currently does not work as expected?

robvanderleek avatar Aug 12 '22 13:08 robvanderleek

i used Fresh js by deno, u can try

darwinprayoga avatar Aug 12 '22 13:08 darwinprayoga

Unfortunately your problem is still not clear to me. Are you trying to run this project with Deno? Or perhaps trying to screenshot a website made with Fresh JS? I haven't used Fresh or Deno before myself.

Please try to give as much details as possible otherwise I'm afraid I can't be of any help.

robvanderleek avatar Aug 12 '22 14:08 robvanderleek

on fetch got an error, request for cors-policy too

darwinprayoga avatar Aug 12 '22 23:08 darwinprayoga

I tried to screenshot https://fresh.deno.dev/ and that worked fine:

curl 'https://capture-website-api.herokuapp.com/capture?url=https://fresh.deno.dev/' -o screenshot.png

but maybe that's not what you mean.

I developed the code to run under NodeJS 16, maybe it does not run under Deno but that's not a target platform at the moment.

robvanderleek avatar Aug 13 '22 19:08 robvanderleek

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 11 '22 20:12 stale[bot]