1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00

add splash examples

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

@ -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