Skip to content

Instantly share code, notes, and snippets.

@ShaojieHe
ShaojieHe / ripper.sh
Last active March 6, 2021 02:25
Just a Ripper(useful getting things on nginx static file server) someone will call it sync/recursive using aria2/other download tool
#!/bin/bash
type lynx > /dev/null || exit 1
#set depth
depth=2
#conf lynx
cmd="lynx --listonly --nonumbers --dump --auth xxx:xxx -unique_urls "
#conf url
url='xxx'
urldecode() {
### Keybase proof
I hereby claim:
* I am shaojiehe on github.
* I am shaojiehe (https://keybase.io/shaojiehe) on keybase.
* I have a public key ASCRsk2Sz473bkdtNsKv4_cjxwVnmVyjUIxRM1o9HYDhqgo
To claim this, I am signing this object: