News for hackers. Stuff that matters.
Re:Internet in a Box by tyingq on Sunday June 20, 2021 @11:01AM (#27570686)
Yeah, a "spider this page with depth X" would be a neat addition.

Edit: Though the way it works as a sort of proxy, it seems like you could combine it with something like this, and it would just work: https://github.com/naoak/chrome-site-spider

Re:Internet in a Box by thricegr8 on Monday June 21, 2021 @02:01PM (#27581794)
Would something like this work for single-page applications? Given that most applications today are built entirely through the DOM, would regex matching on embedded scripts be that useful?

I've actually started thinking about how to build a spidering/scraping tool that extracts links/JS, etc from an SPA but would rather not reinvent the wheel if possible.

Re:Internet in a Box by graderjs on Sunday June 20, 2021 @05:33PM (#27574125)
Cool thanks for that, indeed it seems like it would work.