たぶん BeautifulSoup かと思うので
In [1]: from bs4 import BeautifulSoup
...:
...: html = '''<block>
...: <span>(11/20 11:46)</span>,
...: <span class="PhotoIcon"></span>,
...: <span>(11/20 11:04)</span>,
...: <span class="PhotoIcon"></span>,
...: <span>(11/20 10:49)</span>,
...: <span class="PhotoIcon"></span>,
...: <span>(11/20 10:45)</span>,
...: <span>(11/20 08:58)</span>,
...: <span class="PhotoIcon"></span>,
...: <span>(11/20 07:43)</span>,
...: '''
...:
In [2]: soup = BeautifulSoup(html)
...: block = soup.block
...: block.find_all('span')
...:
Out[2]:
[<span>(11/20 11:46)</span>,
<span class="PhotoIcon"></span>,
<span>(11/20 11:04)</span>,
<span class="PhotoIcon"></span>,
<span>(11/20 10:49)</span>,
<span class="PhotoIcon"></span>,
<span>(11/20 10:45)</span>,
<span>(11/20 08:58)</span>,
<span class="PhotoIcon"></span>,
<span>(11/20 07:43)</span>]
In [3]: block('span', class_=True)
Out[3]:
[<span class="PhotoIcon"></span>,
<span class="PhotoIcon"></span>,
<span class="PhotoIcon"></span>,
<span class="PhotoIcon"></span>]
In [4]: block('span', class_=False)
Out[4]:
[<span>(11/20 11:46)</span>,
<span>(11/20 11:04)</span>,
<span>(11/20 10:49)</span>,
<span>(11/20 10:45)</span>,
<span>(11/20 08:58)</span>,
<span>(11/20 07:43)</span>]
In [5]:
追記
ちなみに block('span', class_=False)
は
block.find_all('span', class_=False)
の記述でも可能 (短縮してるだけ)