On 11/20/23 13:29, American Citizen wrote:
> Hello:
>
> I am trying to grab one specific file from a quake monitoring website
> using wget. The file name is "index.js"
>
> The wget command is
>
> % wget -r -l3 --no-parent -A "index.js" https://vafri.is/quake/
>
> However the results do NOT come back with the file at all, but
> apparently the wget command is deflected and unable to retrieve the
> file. I can do a manual save of the website as an html file with an html
> directory which contains the "index.js" file.
>
> What am I doing wrong?
>
> Thank you for the clarification/correction and advice.
>
>


Why try to spider the site and run afoul of there rebots.txt?  If the 
file is publicly accessible just use

wget https://vafri.is/<full path to file>/index.js see 'man wget' for 
options to compensate for URL redirects etc. -Ed

Reply via email to