title: Error in end of script but everything works
body: <p>I need parse HTML doc with sports odds. parsing finish, I get data what I need but in end of script I get error:</p>
  
  <pre><code>line 36, in &lt;module&gt;
  print(line[0].text.split(' ',1), line[1].text.split(' ',1))
  IndexError: list index out of range
  </code></pre>
  
  <p>Example HTML:</p>
  
  <pre><code>&lt;div class="Section"&gt;
  
  &lt;div id="ctl00_Main_ctl00_ctl78_ctl00_SctDescDiv" class="Header"&gt;Natsuho Arakawa v Mandy Wagemaker&lt;/div&gt;&lt;div id="ctl00_Main_ctl00_ctl78_ctl01_Lines" class="Lines"&gt;
  &lt;div id="ctl00_Main_ctl00_ctl78_ctl01_ctl00_LineDiv" class="Line"&gt;&lt;input type="checkbox" id="77" name="77a" value="pt=N#o=5/2#f=46064591#fp=549590497#so=0#ln=#c=13#" onclick="javascript:stopInPlayRefresh();"&gt;3.50 Natsuho Arakawa&lt;/div&gt;
  &lt;div id="ctl00_Main_ctl00_ctl78_ctl01_ctl01_LineDiv" class="Line"&gt;&lt;input type="checkbox" id="78" name="78a" value="pt=N#o=2/7#f=46064591#fp=549590498#so=0#ln=#c=13#" onclick="javascript:stopInPlayRefresh();"&gt;1.28 Mandy Wagemaker&lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>
  My code:</p>
  
  <pre><code>for x in soup.find_all('div', ['Lines']):
      line = x.find_all('div')
      print(line[0].text.split(' ',1), line[1].text.split(' ',1))
  </code></pre>
  
  <p>Results:</p>
  
  <pre><code>['1.33', 'Elena Vesnina'] ['3.25', 'Bojana Jovanovski']
  ['2.75', 'Irina-Camelia Begu'] ['1.40', 'Kaia Kanepi']
  ['2.75', 'Polona Hercog'] ['1.40', 'Lucie Safarova']
  ['1.44', 'Svetlana Kuznetsova'] ['2.62', 'Maria Teresa Torro-Flor']
  </code></pre>
  
  <p>Everything works but I do not understand the error. What is wrong ? help me please.  Thank you  </p>