Releases: scrapfly/typescript-scrapfly
Releases · scrapfly/typescript-scrapfly
v0.6.9
v0.6.8
- Fix a rare bug where
Content-Type
header would be overridden totext/plain
for POST requests withbody
and manualContent-Type
header set.
v0.6.7
v0.6.6
- fix the new
blob
type data handler to correctly unpack the results (when scraping high bandwidth byte data objects like images, videos etc.)
v0.6.5
- fix case sensitive headers breaking screenshot API calls and result.selector
- add initial support for clob and blob response seemless unpacking
v0.6.4
- fix retries on 500 responses on NodeJS
- fix
ScrapflyClient.saveScreenshot()
on Bun
v0.6.2
Rework on deno base providing
- commonjs option for nodejs
- native typescript for Bun through https://jsr.io/@scrapfly/scrapfly-sdk
- native typescript for Deno through https://jsr.io/@scrapfly/scrapfly-sdk
Also add new Scrapfly features:
- add
.extract()
method for accessing Scrapfly Extraction API - add
.screenshot()
method for accessing Scrapfly Screenshot API - add
format
parameter to ScrapeConfig for specifying scrape format (likemarkdown
,json
orclean_html
) - add
format_options
parameter to ScrapeConfig for specifying scrape format options (likeno_images
andno_links
) - add
screenshot_options
parameter to ScrapeConfig to customize screenshot capture with Scrapfly Web Scraping API
v0.5.1
- fix edge case where
ScrapeConfig.js
orScrapeConfig.js_scenario
values could be incorrectly base64 encoded and retain+
or/
characters.
v0.5.0
- add
ScrapeConfig.screenshot_flags
support as per #1. See screenshot docs for more. - add
ScrapeConfig.format
support formarkdown
value to scrape output as markdown using AI parsing as per #1. - dependency updates.
v0.4.0
- add retries for client-side connection errors.
- set default longer read/write timeout of 160seconds for high intensity scrape tasks.
- dependancy updates.