This project is read-only.
1
Vote

Proxy Authentication Required Exception thrown

description

Hi,

While downloading a book, application throwed error {"The remote server returned an error: (407) Proxy Authentication Required."}

at line

__pagesrc = wc.DownloadString("http://books.google.com/books?id=" + bookid + "&pg=" + pid + "&jscmd=click3");__

Let me know if further details required.

Thanks

comments

eferreyra wrote Oct 30, 2013 at 8:53 PM

Add a .config file to the .exe (Google Books Downloader Lite.exe.config) with this content or your proxy settings.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <system.net>
    <defaultProxy useDefaultCredentials="true"/>
  </system.net>

</configuration>