testingtest Posted June 15, 2007 Share Posted June 15, 2007 hmm with Inetget I want to collect pictures videos and all kinds of stuff whats a simple way to do it I have looked but not sure I tried using Inetget to write the webpage in the .txt file and scan for all the files but not sure what I am doing. example say I want to get all pictures *.jpg (Jpeg) , *gif , *bmp and then the next day I just want to get bmp pictures would that be easy to do or no Link to comment Share on other sites More sharing options...
Das Ami Posted June 15, 2007 Share Posted June 15, 2007 (edited) You mean an image crawler?Try _IEImgGetCollection and filter the extensions.Edit : Take a look at DownThemAll (Firefox plugin) it does what you're looking for. Edited June 15, 2007 by Das Ami Link to comment Share on other sites More sharing options...
testingtest Posted June 15, 2007 Author Share Posted June 15, 2007 (edited) #include <IE.au3> #include <IE.au3> $oIE = _IECreate ("http://www.autoitscript.com/") $oImgs = _IEImgGetCollection ($oIE) ;For $oImg In $oImgs ; MsgBox(0, "Img Info", "src=" & $oImg.src) FileWrite("test.jpg" , "src=" & $oImg.src) ;Next hmm Edited June 15, 2007 by testingtest Link to comment Share on other sites More sharing options...
GMK Posted June 15, 2007 Share Posted June 15, 2007 #include <IE.au3> #include <IE.au3> $oIE = _IECreate ("http://www.autoitscript.com/") $oImgs = _IEImgGetCollection ($oIE) ;For $oImg In $oImgs ; MsgBox(0, "Img Info", "src=" & $oImg.src) FileWrite("test.jpg" , "src=" & $oImg.src) ;Next oÝ÷ Ú¦þ«¨µâ-)äÊ°j{ZÒ7ö÷®'¶±¦V¢Z¶+]¡ëºÚ"µÍÚ[ÛYH ÒQK]LÉÝÂÌÍÛÒQHHÒQPÜX]H ][ÝÚËÝÝÝË]]Ú]ØÜÛÛKÉ][ÝÊBÌÍÛÒ[YÜÈHÒQR[YÑÙ]ÛÛXÝ[Û ÌÍÛÒQJBÜ ÌÍÛÒ[YÈ[ ÌÍÛÒ[YÜ ÌÍØTÜ]HÝ[ÔÜ] ÌÍÛÒ[YËÜË ][ÝËÉ][ÝÊHÔÜ]TÈ[[BIÌÍÙ[[[YHH ÌÍÔÜ]ÕPÝ[ ÌÍØTÜ] KLWHÑ[HÚ[HÝ^BR[]Ù] ÌÍÛÒ[YËÜË ][ÝÐÎÌLÉ][ÝÈ [È ÌÍÙ[[[YJHÑÝÛØY[XYÙHÈÎÌLÈ]B^ Link to comment Share on other sites More sharing options...
testingtest Posted June 15, 2007 Author Share Posted June 15, 2007 Thanks guys ill mess with it Link to comment Share on other sites More sharing options...
GMK Posted June 15, 2007 Share Posted June 15, 2007 IE Snippet: http://www.autoitscript.com/forum/index.ph...st&p=206466 Link to comment Share on other sites More sharing options...
testingtest Posted June 15, 2007 Author Share Posted June 15, 2007 (edited) IE Snippet: http://www.autoitscript.com/forum/index.ph...st&p=206466thanks the reason for this is to rip pictures I like videos flash and more and maybe even mp3's edited: when finished it will be like this I hope Visit My Website Edited June 15, 2007 by testingtest Link to comment Share on other sites More sharing options...
_Kurt Posted June 15, 2007 Share Posted June 15, 2007 Yes, _IE* functions are the way to go, however if you really want you could using _InetGetSource, and then StringRegExp($Source, "www.(.*?).jpg", 3). This method could also be used to capture stuff that IE doesn't (*.swf videos, etc.) and InetGet.. the link. Keep in mind that more string functions will be needed to extract the link. Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
testingtest Posted June 15, 2007 Author Share Posted June 15, 2007 Yes, _IE* functions are the way to go, however if you really want you could using _InetGetSource, and then StringRegExp($Source, "www.(.*?).jpg", 3). This method could also be used to capture stuff that IE doesn't (*.swf videos, etc.) and InetGet.. the link. Keep in mind that more string functions will be needed to extract the link.KurtThanks. I bet you guys can tell I am a noob when it comes to IE and Strings any examples will be great (like the ones above) but if not I am sure ill figure it out. I was using _Inetgetsource but wasn't sure how to find all the formats in the source that I want and once I did find what I wanted (.bmp , .mp3 etc...) how would I get the file on my desktop ? _Inetget? 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