ulixee / hero

The web browser built for scraping
MIT License
657 stars 32 forks source link

feat(core): collect resources #73

Closed blakebyrnes closed 2 years ago

blakebyrnes commented 2 years ago

This PR allows you to collect resources. When you collect them and call getCollectedResources, it will return a version of the resource with all attributes downloaded.

As part of this PR, the properties that were part of a resourceMeta that were already downloaded were made synchronous. Only the resource bodies are asynchronous.