![]() |
2011-01-03
, 17:40
|
Posts: 237 |
Thanked: 193 times |
Joined on Feb 2010
@ Brighton, UK
|
#2
|
![]() |
2011-01-03
, 17:49
|
Posts: 309 |
Thanked: 456 times |
Joined on Jan 2010
|
#3
|
![]() |
2011-01-03
, 17:55
|
Posts: 237 |
Thanked: 193 times |
Joined on Feb 2010
@ Brighton, UK
|
#4
|
grep 'forecast-icon.*http.*png' /home/user/MyDocs/.images/queen_beecon_dir/test.htm | grep -o http*[a-zA-Z0-9\.\-\\_/\:]*.png
grep 'forecast-icon.*http.*png' /home/user/MyDocs/.images/queen_beecon_dir/test.htm | grep -o http*[a-zA-Z0-9\.\-\\_/\:]*.png | grep -m 1 http
![]() |
2011-01-03
, 18:17
|
Posts: 309 |
Thanked: 456 times |
Joined on Jan 2010
|
#5
|
![]() |
2011-01-03
, 18:28
|
Posts: 237 |
Thanked: 193 times |
Joined on Feb 2010
@ Brighton, UK
|
#6
|
wget `grep 'forecast-icon.*http.*png' /home/user/MyDocs/.images/queen_beecon_dir/test.htm | grep -o http*[a-zA-Z0-9\.\-\\_/\:]*.png | grep -m 1 http` -O MYFILEPATH.png
![]() |
2011-01-03
, 19:29
|
Posts: 309 |
Thanked: 456 times |
Joined on Jan 2010
|
#7
|
![]() |
2011-01-04
, 10:59
|
Posts: 237 |
Thanked: 193 times |
Joined on Feb 2010
@ Brighton, UK
|
#9
|
![]() |
2011-01-04
, 11:05
|
Posts: 309 |
Thanked: 456 times |
Joined on Jan 2010
|
#10
|
The Following User Says Thank You to [DarkGUNMAN] For This Useful Post: | ||
I'm attempting to regex some html code to extract a url - so far with limited success.
I use a WGET command to save the page to local htm file:
Last edited by [DarkGUNMAN]; 2011-01-03 at 17:31.