ImoutoChan / IqdbApi

Library for searching anime picture sources on iqdb.org.
MIT License
20 stars 1 forks source link

IQDB refuses HTTPS proxy recently #5

Closed Ebola-Chan-bot closed 3 years ago

Ebola-Chan-bot commented 3 years ago

I found IqdbApi is using HTTPS proxy to connect to IQDB. This is OK in the past. However, recently I found IQDB frequently refuses my HTTPS connection. HTTP proxy is still fine. Would you please change the BaseAddress to http://www.iqdb.org/ ?

ImoutoChan commented 3 years ago

I've provided a way to change the scheme of the IQDB to HTTP.

If you want to fallback to it only in case of exception I suggest catching it and create a new IQDB client with a different scheme.