Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #include <INet.au3>
- Func getIMG($url)
- $html = _INetGetSource($url)
- $data = StringRegExp($html, 'class="the_photo".+src="(.+?)"', 3)
- If @error Then Return -1
- return $data[0]
- EndFunc
- $test = getIMG('https://500px.com/photo/50655470/sunset-silhouette-by-peter-emil-andersen')
- MsgBox(0, 'Image', $test)
Add Comment
Please, Sign In to add comment