Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilare scrape per OSX #8

Open
duemme opened this issue Feb 14, 2021 · 11 comments
Open

Compilare scrape per OSX #8

duemme opened this issue Feb 14, 2021 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@duemme
Copy link

duemme commented Feb 14, 2021

sto provando a usarlo dal terminale di OSX e ottengo questo errore "zsh: exec format error: scrape"

@aborruso
Copy link
Owner

@duemme hai dato permessi di esecuzione al file?

@duemme
Copy link
Author

duemme commented Feb 14, 2021

@duemme hai dato permessi di esecuzione al file?

@aborruso si ho copiato nella cartella /usr/local/bin e ho dato i permessi di esecuzione. Forse è un problema di osx Big Sure.

@aborruso
Copy link
Owner

Fai questa prova, vai via shell in /usr/local/bin con

cd /usr/local/bin

E da lì lancia

curl -sL 'https://en.wikipedia.org/wiki/List_of_sovereign_states'  | ./scrape -be '//table[contains(@class, 'wikitable')]/tbody/tr/td/b/a'

Se hai dell'HTML in output vuol dire che la cartella /usr/local/bin non è nel PATH.

@duemme
Copy link
Author

duemme commented Feb 14, 2021

Domani provo ma sicuramente è nel PATH perchè avevo controllato. Temo sia qualche forma di protezione di OSX

@duemme
Copy link
Author

duemme commented Feb 15, 2021

Stesso problema anche così: "zsh: exec format error: ./scrape"
Credo sia proprio un problema di OSX

@aborruso aborruso self-assigned this Feb 15, 2021
@aborruso
Copy link
Owner

aborruso commented Feb 15, 2021 via email

@aborruso aborruso changed the title problema con OSX Compilare scrape per OSX Feb 15, 2021
@aborruso aborruso added the enhancement New feature or request label Feb 15, 2021
@duemme
Copy link
Author

duemme commented Feb 15, 2021

grazie

@aborruso
Copy link
Owner

aborruso commented May 9, 2021

ciao @duemme ecco una prima release per OSX, compilata sotto Big Sur.

La trovi qui: https://github.com/aborruso/scrape-cli/releases/tag/v1.0

Fammi sapere

@duemme
Copy link
Author

duemme commented May 9, 2021

Grazie Andre!

@aborruso
Copy link
Owner

@duemme ma lo hai provato più?

Grazie

@aborruso
Copy link
Owner

aborruso commented Nov 2, 2024

Ciao @duemme adesso dovresti poterlo installare con pip. Se fai questo test, mi fai un gran favore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants