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

Binary and interface #6

Open
mhf-ir opened this issue Jun 17, 2019 · 4 comments
Open

Binary and interface #6

mhf-ir opened this issue Jun 17, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@mhf-ir
Copy link

mhf-ir commented Jun 17, 2019

How about create HTTP or CLI interface and dist package as binary for non-golang developers?

@musabgultekin
Copy link
Collaborator

musabgultekin commented Jun 17, 2019 via email

@mhf-ir
Copy link
Author

mhf-ir commented Jun 17, 2019

As simple is the nodejs scrapper: https://github.com/IonicaBizau/scrape-it

curl 'http://127.0.0.1:9000/?url=http%3A%2F%2Fwww.example.com' -d '{"title":".header h1","desc":".header h2","avatar":{"selector":".header img","attr":"src"}}' | jq

{
  "title": "Page title",
  "desc": "This is awesome page.",
  "avatar": "http://www.example.com/sample.jpg"
}

With js renderer feature this repo will be awesome.

@musabgultekin
Copy link
Collaborator

Its very good feature idea, I'll look if its feasable

@musabgultekin musabgultekin added the enhancement New feature or request label Jul 3, 2019
@glaslos
Copy link
Contributor

glaslos commented Jan 1, 2023

Ah JSON object passed as configuration to a CLI tool?

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

3 participants