vAmigaWeb icon indicating copy to clipboard operation
vAmigaWeb copied to clipboard

adding online demoscene browser

Open mithrendal opened this issue 4 years ago • 2 comments

we should do what we have done with csdb.dk in https://vc64web.github.io 😎

adding a scene browser to vAmigaWeb interface

candidates

  • https://demozoo.org/
  • https://www.pouet.net

mithrendal avatar Oct 25 '21 19:10 mithrendal

when trying to find demos in the demozoo.org catalog

image

from inside the vAmigaWeb app ( https://vAmigaWeb.github.io ) ... we get this

Access to fetch at 'https://demozoo.org/productions/?platform=5&production_type=1' from origin 'https://vamigaweb.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

also vAmigaWeb needs to have CORS access to files.scene.org to actually fetch the demo file

Access to fetch at 'https://files.scene.org/get/parties/2021/flashparty21/oldschool_demo/nofflight.zip' from origin 'https://vamigaweb.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

@emoon do we have any chance that the CORS header in the HTTP Response can be changed for these websites ? ... either by addition of a static header and setting it to * or restricting it to vamigaweb.github.io ? Do you know the person or admin who we have to contact for this request ?

mithrendal avatar Nov 11 '21 16:11 mithrendal

I found some API description in the demozoo.org forum

and it does already CORS ...

image

now lets see what we can do with it 😀

cool there are a lot of infos inside and also download links but they are again not accessible because of missing CORS headers for example I found this inside

https://files.scene.org/view/parties/2000/durango00/fastmusic/thd.zip

mithrendal avatar Nov 11 '21 19:11 mithrendal