Cybergon Posted November 22, 2011 Posted November 22, 2011 I tried searching for similar topics but I'm not entirely sure what the proper wording would be, so here goes. You know how there are programs like JDownloader that you can copy the whole text of a page and they'll sort it out and give you only the list of direct download urls inside it? How do they do that? I'd like to make something similar just for fun, maybe make a search in google images and get a list of all the filenames, or for useful codes later on like working with a lot of documents and maybe I'd like a list of all the phone numbers in them, or addresses, I don't know. Any suggestions? relevant functions? Thanks in advance!
JohnOne Posted November 22, 2011 Posted November 22, 2011 StringRegExp() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Cybergon Posted November 24, 2011 Author Posted November 24, 2011 StringRegExp()This is great! I've been fiddling with the patterns and I think I got a hold of it. Thanks for the pointing me in the right direction!However I haven't been able to get a good string to work with without copying it manually from the google image search page. The only function I've found so far to do this automatically is _INetGetSource. But is there any way to copy only the displayed text of a page instead of the source code?On second thought that may not work with google images, even when switching to basic mode, but just out of curiosity is it there a way to do it?
pieeater Posted November 24, 2011 Posted November 24, 2011 are you talking about _IEBodyReadText()? here's an example from the help file: #include <IE.au3> $oIE = _IE_Example ("basic") $sText = _IEBodyReadText ($oIE) MsgBox(0, "Body Text", $sText) [spoiler]My UDFs: Login UDF[/spoiler]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now