From dc875ded0879fc1dc35666b2170ae4797ddb64ec Mon Sep 17 00:00:00 2001 From: aborruso Date: Sat, 2 Nov 2024 16:01:57 +0100 Subject: [PATCH] update --- README.md | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 6378a24..9ddd7c7 100644 --- a/README.md +++ b/README.md @@ -101,28 +101,12 @@ Some notes on the commands: - `-e` to set the query - `-b` to add ``, `` and `` tags to the HTML output. -## How to use it in Linux -```bash -# go in example to the home folder -cd ~ -# download scrape-cli -wget "https://github.com/aborruso/scrape-cli/releases/download/1.1/scrape-linux-x86_64" -# move it in a folder of your PATH as /usr/bin -sudo mv ./scrape-linux-x86_64 /usr/bin/scrape -# give it execute permission -sudo chmod +x /usr/bin/scrape -# use it -``` - -**Please note**: in OSX it seems not to work ([#8](https://github.com/aborruso/scrape-cli/issues/8)). - -## Note on building it +## Linux 64 bit precompiled binary -The original source is written in Python 2, then I have built it in Python 2 environment.
-There are two modules requirements: install in this environment `cssselect` and then `lxml`, in this order (using pip). +If you are looking for precompiled executables for Linux, please refer to the [Releases](https://github.com/aborruso/scrape-cli/releases) page on GitHub where you can find the latest precompiled binary file. -I have built it using [pyinstaller](https://www.pyinstaller.org/) and this command: `pyinstaller --onefile scrape.py`.
+I have built the `scrape-linux-x86_64` precompiled binary, using [pyinstaller](https://www.pyinstaller.org/) and this command: `pyinstaller --onefile scrape.py`.
Once you have built it, it's an executable, and it's possible to use it in any environment.