[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] To download files from urls within js or css

From: Darshit Shah
Subject: Re: [Bug-wget] To download files from urls within js or css
Date: Sun, 11 Oct 2015 06:57:40 +0200

On Sat, Oct 10, 2015 at 3:11 PM, Ander Juaristi <address@hidden> wrote:
> On 10/08/2015 07:37 PM, Jimmy Willer Maco Elera wrote:
>> How I can do to detect the urls within the js or css to be downloaded
>> files?
> Pass -r/--recursive, and Wget will recursively follow all the links it
> finds. That includes JS and CSS.
Actually, no. Wget does *NOT* parse Javascript to look for links
during the recursive download. This is because JS cannot simply be
parsed statically, to really simulate the user's behavior and the code
paths taken, we would require a full JS engine within Wget which adds
a lot of bloat.

As of now, there is no way to use Wget to parse javascript to find
links to other files. CSS however, will work.

> Regards,
> - AJ

Thanking You,
Darshit Shah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]