title: Create a text file to save data from each scraped URL
body: <p>I have done the following: </p>
  
  <pre><code>for url in url_list:
      print (url)
      #concat URL with http// and send it
      if url[:4] != 'http':
          url = 'http://' + url
  
      response = requests.get(url)
      response
      soup = BeautifulSoup(response.text, "html.parser")
      print(soup)
  
  with open("copy.txt", "w") as file:
      file.write(str(soup))
  </code></pre>
  
  <p>I would like to create a text file for each scraped URL. Currently it's saving everything to one file.</p>