|Just another Perl shrine|
Getting "raw" jss and css code from server using WWW::Mechanize::Chromeby nysus (Vicar)
|on Apr 08, 2019 at 20:07 UTC||Need Help??|
nysus has asked for the wisdom of the Perl Monks concerning the following question:
Chromium is injecting HTML tags into css and js files that I am getting with the WWW::Mechanize::Chrome->get() method. Example:
Is there any way to get the pure, unadulterated css an js files using WWW::Mechanize::Chrome?
So I've tried downloading the files directly to disk with $mech->get($ur, ':content_file' => $file;. Didn't work. I tried $mech->get(format => 'text'). This crashed the browser.
$PM = "Perl Monk's";