-
fix: cannot get snapshot from browser will intent to a never resolved promise.
-
fix: body will be used twice because log output.
-
chore: upgrade deps.
- breaking: now the
html
mode will return a HTML which stripped<svg>
,<script>
,<img>
,<link>
,<style>
,<meta>
, and only extract the body part. If you want a raw html, please passraw_html
tomode
.
- breaking: mode
body
now changed totext
, the behavior is the same as before, we only changed the param name in the request this version. - feat: add
get_response
mode to send aGET
request directly to the target URL and get the text response. - fix: now
html
mode and the related fallback will return the right format.