mirror of
https://github.com/vale981/cl-scrape-telegram-api
synced 2025-03-04 15:51:38 -05:00
12 lines
358 B
Common Lisp
Executable file
12 lines
358 B
Common Lisp
Executable file
#!/bin/sh
|
|
#|-*- mode:lisp -*-|#
|
|
#|
|
|
exec ros -Q -- $0 "$@"
|
|
|#
|
|
|
|
(push #p"./" asdf:*central-registry*)
|
|
(ql:quickload "cl-scrape-telegram-api")
|
|
(in-package :space.protagon.cl-telegram-scrape)
|
|
(defun main (&optional (out-file *out-file*) (api-url *url*))
|
|
(format t "Writing generated file to ~a.~%" out-file)
|
|
(scrape-to-disk :out-file out-file :url api-url))
|