diff --git a/README.md b/README.md index 390c78d..973f2c9 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,15 @@ Torrents scraper using The Pirate Bay, YggTorrent and EZTV. ## prerequisites -### The Pirate Bay ONLY -**thepiratebay.org** is protected from scrapers, to bypass this protection **skrapilo** is using an automated chromium browser (Puppeteer). -- Linux -- You need a recent version of **chromium-browser** installed in **/usr/bin/chromium-browser**. + +### Only for The Pirate Bay + +**thepiratebay.org** is protected from scrapers, to bypass this protection +**skrapilo** is using an automated chromium browser (Puppeteer). + +- Linux +- You need a recent version of **chromium-browser** installed in + **/usr/bin/chromium-browser**. ```sh sudo apt install chromium-browser @@ -36,6 +41,12 @@ Or compile the executable. deno compile -A --unstable main.ts ``` +**compile.sh** build skrapilo for all available deno targets. +```sh +chmod +x compile.sh +./compile.sh +``` + ## usage ```sh diff --git a/compile.sh b/compile.sh new file mode 100755 index 0000000..ad86048 --- /dev/null +++ b/compile.sh @@ -0,0 +1,6 @@ +#!/bin/bash +targets=("x86_64-unknown-linux-gnu" "x86_64-pc-windows-msvc" "x86_64-apple-darwin" "aarch64-apple-darwin") +version=0.1.0-alpha +for target in ${targets[@]}; do + eval "deno compile -A --unstable --target $target --output skrapilo-$version-$target main.ts" +done \ No newline at end of file diff --git a/skrapilo b/skrapilo deleted file mode 100755 index eb4c818..0000000 Binary files a/skrapilo and /dev/null differ