Answer the question
In order to leave comments, you need to log in
Parsing in Python. beautifulsoup. Get the second element?
The html page has several tags:
<script>111</script>
<script>222</script>
soup = BeautifulSoup(resp, features="html.parser")
print (soup.html.script)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question