[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Non-blocking API for external event loops (#550)
From: |
Tim Rühsen |
Subject: |
Re: wget2 | Non-blocking API for external event loops (#550) |
Date: |
Sun, 14 Feb 2021 11:28:07 +0000 |
Tim Rühsen commented:
Hey Walter,
no, wget2 can't execute JS. It would surely be possible with a plugin, if
someone writes it.
Curl doesn't scrape/scan web sites at all - so it doesn't execute JS.
But my thoughts about JS are:
- better not execute arbitrary code on your machine from untrusted locations
- JS needs a certain browser environment that needs to be emulated
- which of all the JS functions do you want to execute ? (on loading or on some
'action' ? and how do we fill in possible arguments to these functions)
- how to deal with interactive JS (asking for arbitrary user input)
I never dived deeper into this area, but if someone likes to work on it: it's
sounds very interesting. But please come up with a design proposal for broader
discussion before start coding.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/550#note_508539432
You're receiving this email because of your account on gitlab.com.