packhack now outputs JSON Lassi Kortela (25 Apr 2019 16:46 UTC)
|
Re: packhack now outputs JSON
Lassi Kortela
(25 Apr 2019 16:57 UTC)
|
Re: packhack now outputs JSON
Frank Ruben
(25 Apr 2019 18:32 UTC)
|
Re: packhack now outputs JSON
Frank Ruben
(25 Apr 2019 18:57 UTC)
|
Re: packhack now outputs JSON
Lassi Kortela
(25 Apr 2019 19:51 UTC)
|
Re: packhack now outputs JSON
Frank Ruben
(26 Apr 2019 20:56 UTC)
|
Re: packhack now outputs JSON
Lassi Kortela
(25 Apr 2019 19:59 UTC)
|
Re: packhack now outputs JSON
Lassi Kortela
(25 Apr 2019 20:16 UTC)
|
packhack now outputs JSON Lassi Kortela 25 Apr 2019 16:46 UTC
Just a quick note that <https://github.com/schemedoc/packhack> now produces JSON output in addition to the HTML that it previously made. The JSON could be used as source material by a Scheme API server so people can query the API for package information. I also implemented a small caching framework in Racket so it will automatically download whatever screen-scrape source material is missing from its cache directory. Downloading each source document only once and then caching them locally ought to be more polite to the people hosting the package repositories. I'd like to thank Frank for the excellent work in adding a RavenSc.com scraper which I did not figure out how to do - and also for writing a Makefile.