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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -