On Sat, Oct 10, 2015 at 3:11 PM, Ander Juaristi <[email protected]> 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