title: BeautifulSoup Webscraping Text overflows the cell and goes to next one. I want to keep the information in one cell instead of separated
body: <p>Beginner here trying to get this down. I feel like the solution is very easy at this point as I have tried numerous things but none of it worked. I've been trying this for the whole day with no avail. I tried looking on stack but was unable to find the answer. </p>
  
  <p>I'm trying to scrape the date text and the deal post from spoofee.com</p>
  
  <p>The format is Date and then Info about the deal. I tried to do that but failed miserably as the text overflowed to next cells. Tried bunch of solutions but none worked. First I'm trying to write the Date and the Title of the Deal. Once I'm able to accomplish that I will do the Info. </p>
  
  <p>Here's my Code. </p>
  
  <pre><code>from urllib.request import urlopen as uReq
  from bs4 import BeautifulSoup as bs
  
  html_url = 'http://www.spoofee.com/'
  
  uClient = uReq(html_url)
  
  page_html = uClient.read()
  
  uClient.close()
  
  page_soup = bs(page_html, 'html.parser')
  
  titles = page_soup.findAll("td",{"class":"dealtitle"})
  date = page_soup.findAll("td",{"class":"date"})
  
  filename = "spoofeedeals.csv"
  f = open(filename,"w")
  
  headers = "Date and Deals\n"
  f.write(headers)
  
  for day in date:
      f.write('\n'+day.text+'\n\n')
      for title in titles:
          f.write(title.text+'\n')
  
  f.close()
  </code></pre>
  
  <p>This is what I get.</p>
  
  <p><a href="https://i.stack.imgur.com/ompMq.png" rel="nofollow noreferrer">Resulting data in csv</a></p>
  
  <p>How can I get the date to be in one cell and not the next two cells? I tried get_text(separator=",") but that didn't work. When I try other solutions, the rest of the info titles get screwed up. This is step 1 before going to my step 2 of pulling more data from this page but I'm stuck. </p>
  
  <p>I have a feeling I'm going to get this with a easy solution that I'm going to facepalm myself. </p>
  
  <p>Thank you for the help.</p>