benibela / xidel

Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
http://www.videlibri.de/xidel.html
GNU General Public License v3.0
674 stars 42 forks source link

xidel for window making requests through the default Internet Explorer proxy ? #73

Closed Baltazar500 closed 3 years ago

Baltazar500 commented 3 years ago

xidel for window making requests through the default Internet Explorer proxy ?

I use fake proxy (127.0.0.1:22222) in Internet Explore settings to block hidden windows requests, which is why xidel does not return data when proxy is enabled.

I have to use the --proxy="" switch when fake proxy is enabled in the settings :(

benibela commented 3 years ago

Yes

I added that feature this month: https://github.com/benibela/xidel/commit/baff543d3ba546731615485b0c4ab5c23b7f2c8d

Baltazar500 commented 3 years ago

Yes

As I expected. IMHO, this feature is not obvious and complicates work with xidel under windows :/

benibela commented 3 years ago

But it makes sense. The default proxy is the default proxy

And disabling it with --proxy="" is more intuitive than enabling with --proxy=default or something

And all the other Internet Explorer settings (TLS especially) affect Xidel as well

Baltazar500 commented 3 years ago

ОК