shrub/gen/curl.hoon

14 lines
248 B
Plaintext
Raw Normal View History

2016-10-22 02:44:39 +03:00
:: Fetch contents at url
2016-02-05 05:57:44 +03:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/curl/gen
2016-02-05 05:57:44 +03:00
::
/? 310
/- sole
/+ generators
=, [generators eyre]
2018-03-19 07:18:20 +03:00
:- %get |= {^ {a/tape ~} ~}
^- (sole-request:sole (cask httr))
%+ curl (scan a auri:de-purl:html)
|= hit/httr
(produce %httr hit)