Hey,
I'm building this script to download images from google images search.
Baiscally i have this part:
Which stores the html content into a variable $stream. The images to download a are in the pattern:
"imgurl=http://........jpg"
My question is: How do I parse those image URLs using RegEx inside $stream in an array like
image[1]="http://...."
image[2]="http://...."
thanks
I'm building this script to download images from google images search.
Baiscally i have this part:
[ autoit ]
$url = "https://www.google.com/search?hl=en&tbm=isch&q=flinstones" $sData = InetRead( $url ) $stream = BinaryToString( $sData )
Which stores the html content into a variable $stream. The images to download a are in the pattern:
"imgurl=http://........jpg"
My question is: How do I parse those image URLs using RegEx inside $stream in an array like
image[1]="http://...."
image[2]="http://...."
thanks