Crates.io | scoutlang |
lib.rs | scoutlang |
version | 0.7.2 |
source | src |
created_at | 2024-07-10 02:55:58.659795 |
updated_at | 2024-08-19 23:55:02.001904 |
description | A web crawling programming language |
homepage | https://scout-lang.netlify.app |
repository | https://github.com/maxmindlin/scout-lang |
max_upload_size | |
id | 1297769 |
size | 11,570,026 |
ScoutLang is a DSL made for web scraping, focusing on a simple and expressive syntax. A powerful web crawling stack is abstracted away, allowing you to write powerful, easy to read scraping scripts.
ScoutLang comes bundled with a full REPL and a powerful debugging mode, allowing you to visualize your web scraping scripts in real time.
Eventually Scout installation will come bundled with the necessary pre-reqs. For now, you will need:
The binary can then be installed one of two ways:
cargo install scoutlang
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/maxmindlin/scout-lang/main/scripts/installer.py | python3
Both install the Scout interpreter into your path as scout
.
The scout
binary ran with a filename will read and interpret a script file. Without a script will start the REPL.
Available ENV variables:
SCOUT_DEBUG
: Whether or not to open the debug browser. Defaults to false
.SCOUT_PORT
: Which port to run Scout on. Defaults to a random open port. Do not set if you intend to run multiple scout instances at once as ports will conflict.SCOUT_PROXY
: An optional URL to proxy requests to. Defaults to none.SCOUT_PATH
: A path to where Scout installs dependencies, like the standard lib. Defaults to $HOME/scout-lang/
.Scout is dual-licensed with MIT & Apache 2.0, at your option.