View Single Post
  #4  
Old 17.07.2021, 14:59
BJN01 BJN01 is offline
JD Adviser
 
Join Date: Jan 2020
Posts: 113
Default

Quote:
Originally Posted by mgpai View Post
@BJN01: Try wget. It is capable of mirroring remote sites locally. Can also be called from eventscripter.
I tried to figure out what I should do, in the examples they say:

Quote:
-Retrieve only one HTML page, but make sure that all the elements needed for the page to be displayed, such as inline images and external style sheets, are also downloaded. Also make sure the downloaded page references the downloaded links.

wget -p --convert-links h#tp://www.example.com/dir/page.html

The HTML page will be saved to w#w.example.com/dir/page.html, and the images, stylesheets, etc., somewhere under w#w.example.com/, depending on where they were on the remote server.

-The same as the above, but without the w#w.example.com/ directory. In fact, I don’t want to have all those random server directories anyway—just save all those files under a download/ subdirectory of the current directory.

wget -p --convert-links -nH -nd -Pdownload \
h#tp://www.example.com/dir/page.html


-Retrieve the index.html of ‘w#w.lycos.com’#, showing the original server headers:
wget -S h#tp://www.lycos.com/

-Save the server headers with the file, perhaps for post-processing.
wget --save-headers ht#p://www.lycos.com/
more index.html

I can try everything, but for starter , afther dl the *.gz / *.gz.sig /*.lz / *.lz.sig file ... haw i use it ?? , where do i put them?

how do i call it in eventscript?
i need an *.au3 ? and what should I write ?

for example :

<wget --save-headers -nd ht#p://www.lycos.com/
more index.html > ??
Reply With Quote