fetchWebpage
Script
v1
Fork
1
2
3
4
5
6
7
import
{
fetchText
}
from
"https://esm.town/v/stevekrouse/fetchText?v=6"
;
export
async
function
fetchWebpage
(
args
:
{
url
:
string
}
)
{
const
{
url
}
=
args
;
const
html
=
await
fetchText
(
args
.
url
)
;
return
html
;
}