mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-12 11:15:14 +02:00
Updated README
This commit is contained in:
parent
81d70fc1f8
commit
3854bb39ce
18
README.md
18
README.md
@ -1,6 +1,8 @@
|
||||
# Ferret
|
||||
> Write what you want, not how you want
|
||||
|
||||
![ferret](https://raw.githubusercontent.com/MontFerret/ferret/master/assets/intro.jpg)
|
||||
|
||||
## What is it?
|
||||
```ferret``` is a web scraping system aiming to simplify data extraction from the web for such things like machine learning and analytics.
|
||||
Having it's own declarative language, ```ferret``` abstracts away technical details and complexity of the underlying technologies, helping to focus on the data itself.
|
||||
@ -120,6 +122,22 @@ Please use `exit` or `Ctrl-D` to exit this program.
|
||||
>%
|
||||
```
|
||||
|
||||
```shell
|
||||
Welcome to Ferret REPL
|
||||
Please use `exit` or `Ctrl-D` to exit this program.
|
||||
>%
|
||||
>LET doc = DOCUMENT("https://github.com/", true)
|
||||
>LET btn = ELEMENT(doc, ".HeaderMenu a")
|
||||
|
||||
>CLICK(btn)
|
||||
>WAIT_NAVIGATION(doc)
|
||||
>WAIT_ELEMENT(doc, '.IconNav')
|
||||
|
||||
>FOR el IN ELEMENTS(doc, '.IconNav a')
|
||||
> RETURN TRIM(el.innerText)
|
||||
>%
|
||||
```
|
||||
|
||||
### Embedded mode
|
||||
|
||||
```ferret``` is a very modular system and therefore, can be easily be embedded into your Go application.
|
||||
|
BIN
assets/intro.jpg
Normal file
BIN
assets/intro.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 295 KiB |
Loading…
Reference in New Issue
Block a user