Sign in to follow this  
Followers 0
Madza91

Download all files from folder?

11 posts in this topic

Hi all, i want to download all swf games from this URL: http://top-jeux.maxitrafic.com/games/swf/

with some script, is it possible ?

pls help :/


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites



Inetget()

Share this post


Link to post
Share on other sites

I know for that, but i must to download 1 by 1 file :/

bug i ask is it possible to download all in once?


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites

This will work...

$Source_Array=StringSplit(_INetGetSource("http://top-jeux.maxitrafic.com/games/swf/"),@crlf)


For $x=1 to $Source_Array[0]

If StringInStr($Source_Array[$x],".swf</A>")<>0 then

Msgbox(4096,"",$Source_Array[$x])

;Here you can parse thru the line and get the file name.
;Inetget()

EndIf


Next

Share this post


Link to post
Share on other sites

Here is my dirty answer :)

#include <inet.au3>

$Source_Array=StringSplit(_INetGetSource("http://top-jeux.maxitrafic.com/games/swf/"),@crlf)


For $x=1 to $Source_Array[0]

If StringInStr($Source_Array[$x],".swf</A>")<>0 then


$asd = StringReplace($Source_Array[$x],'<IMG border="0" src="/icons/unknown.gif" ALT="[   ]"> <A HREF="',"/")
$1 = StringSplit($asd, '"')
$2 = "http://top-jeux.maxitrafic.com/games/swf" & $1[1]
Inetget($2,@DesktopDir & "\New Folder" & $1[1], 1, 1)
While @InetGetActive
Wend

EndIf


Next

tnx everybody :)


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites

Why not simply use IDM Internet Download Manager?


My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]

Share this post


Link to post
Share on other sites

When this opet will be downloaded all files.. with that downloader i must to click on every link :)

enjoy :)


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0