Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #include <string.au3>
- Func getSource($url)
- Return BinaryToString(InetRead($url), 4)
- EndFunc
- Global $src = getSource('http://m.blogtruyen.com/truyen/naruto/chap-652')
- Global $tags = _StringBetween($src, '<div class="noidungchap">', '</div>')
- Global $imgs = StringRegExp($tags[0], '(?U)(?i)http://.+\.(jpg|png|gif)', 3)
- If Not @error Then
- For $img In $imgs
- ConsoleWrite($img & @CRLF)
- Next
- EndIf
Add Comment
Please, Sign In to add comment