コマンドラインでWebページのURLを抽出する方法
- lynx
$ lynx -dump "http://octaviadata.com" | grep -o 'http[s]*://.*'
- curl
Read more about コマンドラインでWebページのURLを抽出する方法
$ lynx -dump "http://octaviadata.com" | grep -o 'http[s]*://.*'
Read more about コマンドラインでWebページのURLを抽出する方法
function googl() { curl https://www.googleapis.com/urlshortener/v1/url -H 'Content-Type: application/json' -d '{"longUrl": "'$1'"}'| egrep -o 'http://goo.gl/[^"]*' ; } Read more about URLをまとめて短縮