Docs say: "run a spider self-contained in a Python file, without having to create a project."
In case there are multiple spiders in a file, one of them will be selected and run, but spider selection is not deterministic.
Although it's technically not backwards compatible, maybe the best course of action would be to raise an error in this case and do not run any spiders?
I think we should at least show a warning; this issue is somewhat similar to https://github.com/scrapy/scrapy/pull/2612.
Yes, a warning works great - it won't break anything and will still help with debugging. 馃憤
what about having a --spider <spidername> option like for scrapy parse?
Most helpful comment
Yes, a warning works great - it won't break anything and will still help with debugging. 馃憤