ReallySimple Posted October 6, 2009 Share Posted October 6, 2009 Hello, I'm new to autoit and I'm trying to do a project just for fun. I'm trying to convert a member list(or at least a portion of it) to a txt file database. http://www.pbnation.com/memberlist.php This is the memberlist page. I tried using GetWinText and _FileWriteLog to dump the page, but it did not work really(only logged a little text). Could anyone show me an example of how to grab the member list text? I want to re-create the list to a txt file just like it's displayed, and then go on to the next page and do the same thing and log it to the same .txt file just below the last page list. I looked into IE.Au3 but couldn't figure it out. Please and thank you. Link to comment Share on other sites More sharing options...
Mecrazycoder Posted October 6, 2009 Share Posted October 6, 2009 Hello,I'm new to autoit and I'm trying to do a project just for fun. I'm trying to convert a member list(or at least a portion of it) to a txt file database.http://www.pbnation.com/memberlist.phpThis is the memberlist page. I tried using GetWinText and _FileWriteLog to dump the page, but it did not work really(only logged a little text).Could anyone show me an example of how to grab the member list text? I want to re-create the list to a txt file just like it's displayed, and then go on to the next page and do the same thing and log it to the same .txt file just below the last page list.I looked into IE.Au3 but couldn't figure it out. Please and thank you.Did you try with _IEBodyReadText()? Refer help file for its description [size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent] Link to comment Share on other sites More sharing options...
ReallySimple Posted October 6, 2009 Author Share Posted October 6, 2009 Did you try with _IEBodyReadText()? Refer help file for its descriptionWorks, but the list is quiet messy. Is there some way to clean it up?It list them like this:http://pastebin.com/m68a54b4Maybe theres some way I can dump the HTML page and convert it to one giant HTML page with maybe a large portion of the members listed on one HTML page? Link to comment Share on other sites More sharing options...
Mecrazycoder Posted October 6, 2009 Share Posted October 6, 2009 Works, but the list is quiet messy. Is there some way to clean it up?It list them like this:http://pastebin.com/m68a54b4Maybe theres some way I can dump the HTML page and convert it to one giant HTML page with maybe a large portion of the members listed on one HTML page?Have you tried with _IETableGetCollection(). [size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent] Link to comment Share on other sites More sharing options...
ReallySimple Posted October 6, 2009 Author Share Posted October 6, 2009 I got it to clean up a bit. What func could I use to search for any line with the numbers "1195612311511015011001" and delete that line if found? Link to comment Share on other sites More sharing options...
Mecrazycoder Posted October 6, 2009 Share Posted October 6, 2009 I got it to clean up a bit.What func could I use to search for any line with the numbers "1195612311511015011001" and delete that line if found?This Link will help you [size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent] Link to comment Share on other sites More sharing options...
ReallySimple Posted October 6, 2009 Author Share Posted October 6, 2009 Thanks for the spoon feedage, my searching skills suck Link to comment Share on other sites More sharing options...
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