For me it is still not clear what you would like to achieve.
E.g. what is the input for your query and what would you like to extract from the output.
The psk-freq.pl CGI script e.g. could be queried by using a curl, wget script or the http binding. The output can be parsed by a script. But it looks like you are not allowed to execute that CGI script that often.