03-25-2019
To some extent you can work around javascript things by reverse-engineering the javascript and figuring out what webpage data is actually being sent where. Essentially you're working out the 'protocol' so you can throw away the javascript and do it yourself. This is tedious and fraught.
If you want to actually execute javascript natively, you will need a web browser. links2 is a browser with console mode that still has a javascript interpreter, but automating it doesn't seem any easier than any other browser.
Last edited by Corona688; 03-25-2019 at 02:23 PM..
Reason: typo
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are trying to invoke a https service from our unix script using curl command. The service is not getting invoked because it is SSL configured. Bypassing certification (using curl –k) does not work.
curl -k https://site
curl -k -x IP:Port https://site
curl -k -x IP:443 https://id:pwd@site
... (0 Replies)
Discussion started by: dineshbabu01
0 Replies
2. Shell Programming and Scripting
I need a proxy that would enable me to use cli curl/wget with another ip address.
How do I find a paid proxy server that supports curl/wget? (1 Reply)
Discussion started by: locoroco
1 Replies
3. Shell Programming and Scripting
I'm using a proxy service with an ip address and a port number.
How do I use the proxy with wget or cli curl? (1 Reply)
Discussion started by: locoroco
1 Replies
4. Shell Programming and Scripting
Hello,
I am wondering does anyone know of a method using curl/wget or other where by I could specify the IP address of the server I wish to query for a website.
Something similar to editing /etc/hosts but that can be done directly from the command line. I have looked through the man pages... (4 Replies)
Discussion started by: colinireland
4 Replies
5. Shell Programming and Scripting
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies
6. Shell Programming and Scripting
i use curl and wget quite often.
i set up alarms on their output. for instance, i would run a "wget" on a url and then search for certain strings within the output given by the "wget".
the problem is, i cant get the entire output or response of my wget/curl command to show up correctly in... (3 Replies)
Discussion started by: SkySmart
3 Replies
7. Shell Programming and Scripting
Hi,
My script needs to crawl the data from a third party site. Currently it is written in wget. The third party site is of shared interface with different IP addresses.
My wget works with all the IP address but not with one. Whereas the curl is able to hit that IP address and comes out... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
8. Shell Programming and Scripting
Experts,
I login to a 3rd party and pull some valuable information with my credentials. I pass my credentials via --post-data in wget.
Now my Account is locked. I want my wget to alert that the Account is locked. How can i achieve this.
My idea is, get the Source page html from the... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
9. Shell Programming and Scripting
Hello,
What I am trying to do is to get html data of a website automatically.
Firstly I decided to do it manually and via terminal I entered below code:
$ wget http://www.***.*** -q -O code.html
Unfortunately code.html file was empty.
When I enter below code it gave Error 303-304
$... (1 Reply)
Discussion started by: baris35
1 Replies
10. Shell Programming and Scripting
i'm using this command to post data to a remote host:
wget --post-data="My Data" http://<my-ip>:80 -O /dev/null -q
and
curl --data "My Data" http://<my-ip>:80
however, when i run the above, i see the following in my access log on the remote host:
Wget:
10.10.10.10 - - "POST /... (1 Reply)
Discussion started by: SkySmart
1 Replies
LEARN ABOUT DEBIAN
jifty::plugin::compressedcssandjs
Jifty::Plugin::CompressedCSSandJS(3pm) User Contributed Perl Documentation Jifty::Plugin::CompressedCSSandJS(3pm)
NAME
Jifty::Plugin::CompressedCSSandJS - Compression of CSS and javascript files
SYNOPSIS
# In your jifty config.yml under the framework section:
Plugins:
- CompressedCSSandJS:
js: 1
css: 1
jsmin: /path/to/jsmin
cdn: 'http://yourcdn.for.static.prefix/'
skipped_js:
- complex.js
generate_early: 1
DESCRIPTION
This plugin provides auto-compilation and on-wire compression of your application's CSS and Javascript. It is enabled by default, unless
your "ConfigFileVersion" is greater or equal than 2.
It also supports js minifier, you will need to specify the full path. The jsmin can be obtained from
<http://www.crockford.com/javascript/jsmin.html>.
Note that you will need to use "ConfigFileVersion" 2 to be able to configure jsmin feature.
skipped_js is a list of js that you don't want to compress for some reason.
generate_early tells the plugin to compress the CSS and JS at process start rather than on the first request. This can save time,
especially if your JS minifier is slow, for the poor sucker who makes the first request. Enabled by default.
init
Initializes the compression object. Takes a paramhash containing keys 'css' and 'js' which can be used to disable compression on files of
that type.
js_enabled
Returns whether JS compression is enabled (which it is by default)
css_enabled
Returns whether CSS compression is enabled (which it is by default)
generate_css
Checks if the compressed CSS is generated, and if it isn't, generates and caches it. (In devel mode, it always regenerates it)
generate_javascript
Checks if the compressed JS is generated, and if it isn't, generates and caches it.
_generate_javascript_nocache
Generates compressed javascript, ignoring the cache completely.
minify_js $js
Runs the given JS through jsmin
wrap
psgi app wrapper to serve url controlled by us
perl v5.14.2 2010-09-25 Jifty::Plugin::CompressedCSSandJS(3pm)