Menu

cddb.py and proxy

Help
Vladimir
2002-05-15
2002-08-07
  • Vladimir

    Vladimir - 2002-05-15

    Hi.
    I'm under proxy, so cddb.py fails connecting to inet.
    Is there a way to setup proxy?

     
    • Anonymous

      Anonymous - 2002-08-07

      hi,

      i'm under linux using bash.
      setting the shell environment variable 'http_proxy' before using CDDB.py (and thus, python's urllib module) makes urllib use that proxy:

      export http_proxy="http://proxy-host:port/"

      with proxy-host being the internet name or the ip address of your proxy server and port being the port the proxy server daemon listens on.
      works fine for me.

       

Log in to post a comment.