title: Scrapy put two spiders in single file
body: <p>I have written two spiders in single file. When I ran <code>scrapy runspider two_spiders.py</code>, only the first Spider was executed. How can I run both of them without splitting the file into two files.</p>
  
  <p>two_spiders.py:</p>
  
  <pre><code>import scrapy
  
  class MySpider1(scrapy.Spider):
      # first spider definition
      ...
  
  class MySpider2(scrapy.Spider):
      # second spider definition
      ...
  </code></pre>