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

Fix regression tests #95

Closed ctrlcctrlv closed 1 year ago

ctrlcctrlv commented 1 year ago

All tests involving videlibri.sourceforge were failing because SourceForge now mandates HTTPS.

benibela commented 1 year ago

thanks

Why did you change if [[ to if test, though?

ctrlcctrlv commented 1 year ago

/bin/sh rejects it on some systems. /bin/bash will always accept it.