Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codenoid/june
a Read Only Selenium for Web Scrapping
https://github.com/codenoid/june
api scrapping selenium
Last synced: 4 days ago
JSON representation
a Read Only Selenium for Web Scrapping
- Host: GitHub
- URL: https://github.com/codenoid/june
- Owner: codenoid
- License: mit
- Created: 2018-01-25T07:59:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T18:53:45.000Z (about 7 years ago)
- Last Synced: 2024-12-08T03:42:02.275Z (2 months ago)
- Topics: api, scrapping, selenium
- Language: Crystal
- Homepage:
- Size: 397 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# June
a READ-ONLY Selenium, with an HTTP API
## Requirements
1. Firefox Browser
2. [Geckodriver](https://github.com/mozilla/geckodriver/releases) move to `/usr/bin`
3. Java (tested on Java 8)
4. [Selenium](http://selenium-release.storage.googleapis.com/3.8/selenium-server-standalone-3.8.1.jar)## Installation
```
git clone https://github.com/codenoid/June.git
cd June
sudo make
```## Usage
1. Start a new June server
```
java -jar selenium-server-standalone-3.8.1.jar & # or start inside `screen`
june --browser 2 --port 3000
````--browser` for starting june with 2 active browser
`--port` define port for HTTP API
2. Do POST request (application/x-www-form-urlencoded) with params url
```
curl -d "url=https://shopee.co.id" -X POST http://localhost:3000/
```## Development
- [x] Customizable
- [x] Multiple Browser
- [x] Balancing
- [ ] "Remove" Requirements
- [ ] Debug Mode
- [ ] Validation
- [ ] Test## Contributing
1. Fork it ( https://github.com/codenoid/June/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request## Contributors
- [codenoid](https://github.com/codenoid) Rubi Jihantoro - creator, maintainer
- Thanks ! [ysbaddaden](https://github.com/ysbaddaden)