while scraping table data i am getting output as none

Solutions on MaxInterview for while scraping table data i am getting output as none by the best coders in the world

showing results for - "while scraping table data i am getting output as none"
Sevan
29 Jun 2016
1In [1]: from bs4 import BeautifulSoup
2   ...: import requests
3   ...: import re
4   ...: url = "http://www.pro-football-reference.com/boxscores/201309050den.htm"
5   ...: 
6   ...: html = requests.get(url).content
7   ...: bsObj = BeautifulSoup(re.sub("<!--|-->","", html), "lxml")
8   ...: officials = bsObj.find(id="officials")
9   ...: print(officials)
10   ...: 
11
12<table class="suppress_all sortable stats_table" data-cols-to-freeze="0" id="officials"><caption>Officials Table</caption><tr class="thead onecell"><td class=" center" colspan="2" data-stat="onecell">Officials</td></tr>
13<tr><th class=" " data-stat="ref_pos" scope="row">Referee</th><td class=" " data-stat="name"><a href="/officials/ColeWa0r.htm">Walt Coleman</a></td></tr>
14<tr><th class=" " data-stat="ref_pos" scope="row">Umpire</th><td class=" " data-stat="name"><a href="/officials/ElliRo0r.htm">Roy Ellison</a></td></tr>
15<tr><th class=" " data-stat="ref_pos" scope="row">Head Linesman</th><td class=" " data-stat="name"><a href="/officials/BergJe1r.htm">Jerry Bergman</a></td></tr>
16<tr><th class=" " data-stat="ref_pos" scope="row">Field Judge</th><td class=" " data-stat="name"><a href="/officials/GautGr0r.htm">Greg Gautreaux</a></td></tr>
17<tr><th class=" " data-stat="ref_pos" scope="row">Back Judge</th><td class=" " data-stat="name"><a href="/officials/YettGr0r.htm">Greg Yette</a></td></tr>
18<tr><th class=" " data-stat="ref_pos" scope="row">Side Judge</th><td class=" " data-stat="name"><a href="/officials/PattRi0r.htm">Rick Patterson</a></td></tr>
19<tr><th class=" " data-stat="ref_pos" scope="row">Line Judge</th><td class=" " data-stat="name"><a href="/officials/BaynRu0r.htm">Rusty Baynes</a></td></tr>
20</table>
21
22In [2]: 
Enrico
16 Feb 2020
1for row in soup.find('table', id='dailyClimate').find_all('tr'):
Mariangel
27 Jan 2021
1for row in soup.select('table#dailyClimate tr'):