On Thu, January 2, 2014 8:01 pm, Tim Ruehsen wrote: > But you can use the tool 'munpack' from the package 'mpack' to split > RFC-822 > emails into single parts and then process the HTML part(s) with wget. > > Example: > 1. Save your email as xxx.mbox > 2. Extract the contents > $ munpack -t xxx.mbox > part1 (text/plain) part2 (text/html) 3. Process 'part2' with wget > $ wget --force-html -i part2 > ...
Tim, thanks the email contains 3 links, I need to click 1st link ONLY, is there any such trick ? # wget --force-html -i part2 /snip/ HTTP request sent, awaiting response... 200 OK Length: 12869 (13K) [text/html] /snip/ FINISHED --2014-01-02 20:21:59-- Downloaded: 3 files, 38K in 0s (476 MB/s)
