teracow / googliser

a fast BASH multiple-image downloader
GNU General Public License v3.0
207 stars 38 forks source link

--sites flag not working correctly #99

Open ldekeijzer opened 4 years ago

ldekeijzer commented 4 years ago

When using the --sites flag search excludes the domain specified instead of only search in the specified domain. The "-" before "site" in line 1119 should be removed.

https://github.com/teracow/googliser/blob/cb42c3d2efd09102bfb5eb512d0cec0e8d718988/googliser.sh#L1119

teracow commented 4 years ago

Thanks Leo. Just to confirm, this should be:

search_phrase+=" site:${element} OR"

Is that correct?