1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

add splash examples

This commit is contained in:
kev 2018-02-10 02:46:34 +08:00
parent 3ac6b4a863
commit c43a9bdeea

View File

@ -122,6 +122,8 @@ function main(splash)
end
```
View more [examples][2].
```bash
# whole page
$ http http://server:8050/render.png url==https://www.youtube.com/ > youtube.png
@ -137,3 +139,4 @@ $ http http://server:8050/execute lua_source=@crop.lua \
```
[1]: http://splash.readthedocs.org/en/latest/
[2]: https://github.com/scrapinghub/splash/tree/master/splash/examples