D web browser?

Ferhat Kurtulmuş aferust at gmail.com
Fri Sep 8 07:23:26 UTC 2023


On Friday, 8 September 2023 at 06:42:13 UTC, Joe wrote:
> Is there a D library that lets one access the web through a 
> browser like interface? I need to access some URLS as if I was 
> browsing them(it needs to run scripts in the page).
>
> E.g., C# has WebBrowser that lets one programmatically control 
> a browser. I'd like something similar. It does not need to be 
> graphical but it does need to be able to handle javascript and 
> forms and allow programmatic interaction and ideally quite 
> light(else it almost defeats the purpose).

Those are some works that I remember.

https://github.com/skoppe/spasm an example code: 
https://github.com/skoppe/spasm/tree/master/examples/fetch


https://github.com/adamdruppe/arsd and its docs:
http://arsd-official.dpldocs.info/arsd.html#web-scraper
https://github.com/adamdruppe/webassembly/blob/master/tetris.d

Probably, more can be found at 
https://code.dlang.org/?sort=updated&limit=20&category=library.web


More information about the Digitalmars-d-learn mailing list