title: Convert class to module Python3
body: <p>I have a basic <code>scrapy</code> class that spiders a website.</p>
  
  <p>I simply want to convert it to only using <code>functions</code> instead of a <code>class-oop</code> structure.</p>
  
  <p>How can I do this?</p>
  
  <pre><code>import scrapy
  class BrickSetSpider(scrapy.Spider):
      name = "my_spider"
      site_search_url = 'website.com'
      base = 'http://www.website.com/search'
      start_urls = [base + str(site_search_url)]
      '''method1 - parse page urls'''
      def method1():
          #code1
      '''method2 - parse urls on the page from method1'''
      def method2():
          #code2
  </code></pre>
  
  <p>Specifically, I am not sure how to instantiate the <code>scrapy.Spider</code> parameter portion in a <code>functional</code> way, instead of <code>oop</code></p>
  
  <p>Thank you.</p>