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

I did try it as: wsp.pl -v -p proxy proxyport > filetosaveto and wsp.pl -v -p proxy:proxyport > filetosaveto each time it simply said bad filename (ofcourse I did precede all those comands with perl ...), I used firefox as the proxy

Replies are listed 'Best First'.
Re^3: using the web scraping proxy
by andyford (Curate) on Nov 06, 2006 at 10:59 UTC

    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

      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