in reply to Re^2: using the web scraping proxy
in thread using the web scraping proxy


Did wsp.pl work without the ">" redirection?
Not sure what you mean by "use firefox as the proxy". Can you elaborate?
Do you mean that you set up firefox to use the computer running wsp.pl as the proxy?
The "bad filename" problem is probably a file permission issue or something similar. Are you in a directory where you can create files? Try "ls > filetosaveto" to verify that.

andyford
or non-Perl: Andy Ford

Replies are listed 'Best First'.
Re^4: using the web scraping proxy
by coder57 (Novice) on Nov 06, 2006 at 23:27 UTC
    Did wsp.pl work without the ">" redirection? yes
    Not sure what you mean by "use firefox as the proxy". Can you elaborat +e? Do you mean that you set up firefox to use the computer running wsp.pl + as the proxy?
    yes used firefox, and added the proxy with the -p flag The "bad filename" problem is probably a file permission issue or something similar. Are you in a directory where you can create files? Try "ls > filetosaveto" to verify that. still says bad filename
      If "ls > filetosaveto" is giving an error, then you need to try creating your file in a directory where you have permissions.
      Try this:
      wsp.pl > /tmp/web_scraping_proxy_output
      Forget the -p, -v flags for now. One problem at a time.

      andyford
      or non-Perl: Andy Ford

        Maybe I should have mentioned I am using win98se typing the above, even though it still says bad command file name saves all the information from site to the specified file but it isn't in perl code, I read somewhere another program translate.pl is required that has to be run on the saved file to get it to perl code.