15 lines
315 B
Plaintext
15 lines
315 B
Plaintext
var http = use('http')
|
|
var text = use('text')
|
|
var time = use('time')
|
|
|
|
try {
|
|
var st = time.number()
|
|
var b2 = http.fetch(arg[0])
|
|
log.console(`time took ${time.number()-st}`)
|
|
log.console(b2.length)
|
|
var text2 = text(b2)
|
|
log.console(text(b2))
|
|
$_.stop()
|
|
} catch (e) {
|
|
log.console("dictionary error:", e)
|
|
} |