Re:Launch HN: Dashblock (YC S19) – Turn Any Website into an API
by HPouillot on Wednesday September 18, 2019 @02:32PM
(#21008468)
Indeed, we are rendering the whole page with the javascript, that's why it takes longer than a curl. For now, it's especially useful for dynamic pages but we also plan on supporting pages that don't require rendering.
Re:Launch HN: Dashblock (YC S19) – Turn Any Website into an API
by __ka on Wednesday September 18, 2019 @02:49PM
(#21008630)
Maybe you already do it, but I think integrating adblocker functionality when loading JS sites would be desirable to reduce load time. And if ads are what the API user is interested in, perhaps add a flag for whether or not one wants ads to load.
Recommendation: https://github.com/cliqz-oss/adblocker Should be the fastest adblocker library (used by Ghostery, Cliqz and Brave)
Re:Launch HN: Dashblock (YC S19) – Turn Any Website into an API
by HPouillot on Wednesday September 18, 2019 @03:50PM
(#21009296)
Thanks for the advice, it makes a lot of sense !
Re:Launch HN: Dashblock (YC S19) – Turn Any Website into an API
by turtlebits on Wednesday September 18, 2019 @03:09PM
(#21008836)
Sounds good. It does make sense to check to see if your selectors work with raw HTML on publish to verify if you require JS or not.
Tested on a site I regularly visit
edit: added chrome