I want to catch a tag from the html code below.
<pre class="sourceHeading"> Line data Source code</pre>
<pre class="source">
now I catch "pre" tag by pres = soup.find_all("pre")
.
then I want to catch the tag whose class's name is source.
but when I type like :
pre = soup.find(class = "source")
the "class" attribute will clash with python keyword "class".
how can I catch the tag whose class = "source"
?