Give img2dataset a correct User Agent name. The img2dataset tool also by default presents itself with a User-Agent field defined as Mozilla Firefox only. This spoofing circumvents copy-protection mechanisms built-in to web servers, and can be considered a form of fraud.
img2dataset User-Agent Spoofing Ethics and Web Protection
By
–