linux - Using wget to acces to a video download link -


i'm new bash scripting , heard of "wget" decided write script download .mp4 file streamcloud (or whatever) link.

i use like:

wget -q -o - http://somelink.com | grep keyword 

(i redirect wget standard out)

but problem i'm having i've realized i'm getting source of page have wait few seconds until can click "go video" button. i'm stuck on , don't know how access source of page i'm interested in, i'd able grep .mp4 link. heard of post request honest don't know how use much.

sorry if newbie in shell scripting, it's am.

thanks lot. appreciated.

in query, asking write output of wget file. works more redirection.

try:

wget -e --robots=off -r --level=0 -nc --accept mp4 somewebsite.com

this work if files saved .mp4 extension.

--level=0 exception. try command without --level switch.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -