<p>这是一个非常简单的解决方案</p>
<pre><code>from bs4 import BeautifulSoup
import requests
r = requests.get("http://www.radisson.com/lansing-hotel-mi-48933/lansing/hotel/dining")
data = r.text
soup = BeautifulSoup(data)
for found_text in soup.select('div.copy_left'):
print found_text.text
</code></pre>
<p><strong>更新</p>
<p>根据问题的一个改进,这里是一个使用RE的解决方案。
必须为第一段“当你……”制定具体的解决办法,因为它不尊重其他段落的结构。你知道吗</p>
<pre><code>for tag in soup.find_all(re.compile("^strong")):
title = tag.text
desc = tag.next_sibling.next_sibling
print ("Title: "+title)
print (desc)
</code></pre>
<p><strong>输出</strong></p>
<blockquote>
<p>Title: Capitol City Grille</p>
<p>This downtown Lansing restaurant offers delicious, contemporary
American cuisine in an upscale yet relaxed environment. You can enjoy
dishes that range from fluffy pancakes to juicy filet mignon steaks.
Breakfast and lunch buffets are available, as well as an à la carte
menu.</p>
<p>Title: Capitol City Grille Lounge</p>
<p>For a glass of wine or a hand-crafted cocktail and great conversation,
spend an afternoon or evening at Capitol City Grille Lounge with
friends or colleagues.</p>
<p>Title: Room Service</p>
<p>If you prefer to dine in the comfort of your own room, order from the
room service menu.</p>
<p>Title: Menus</p>
<p>Breakfast Menu</p>
<p>Title: Capitol City Grille Hours</p>
<p>Breakfast, 6:30-11 a.m.</p>
<p>Title: Capitol City Grille Lounge Hours</p>
<p>Mon-Thu, 11 a.m.-11 p.m.</p>
<p>Title: Room Service Hours</p>
<p>Daily, 6:30 a.m.-2 p.m. and 5-10 p.m.</p>
</blockquote>