BeautifulSoup
BeautifulSoup getting href [duplicate]
This question already has answers here: retrieve links from web page using python and BeautifulSoup [closed][详细]
2023-03-01 01:35 分类:问答Delete rest of HTML file after some text
I am scraping HTML file using BeautifulSoup in python. I want to delete text after find a word. Ex: <div class=\"content\">[详细]
2023-02-28 22:55 分类:问答How to get span value using python,BeautifulSoup
I am using BeautifulSoup for the first time and trying to collect several data such as email,phone number, and mailing address from a soup object.[详细]
2023-02-28 10:43 分类:问答Replace tag with another in Python Django
I have working with Python and I have some questions: I am using BeautifulSoup I want to replace an HTML tag with another one.[详细]
2023-02-28 09:58 分类:问答How can I get all html following a searched item using BeautifulSoup in Python? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-02-28 07:45 分类:问答locate element using lxml.html vs BeautifulSoup
I\'m scraping an html document using lxml.html; there\'s one thing I can do in BeautifulSoup, but don\'t manage to do with lxml.htm. Here itis:[详细]
2023-02-28 01:43 分类:问答How can I distinguish between an open tag and a closed tag in the findPrevious function in BeautifulSoup?
I want to find if a searched item is contained within a table.I use the following code: tableprevious = foundtext.findPrevious(\'table\')[详细]
2023-02-28 00:24 分类:问答How can I store data items in individual variables from an extracted table in Python?
I have another question about how to collect data from a table.This is an ongoing project and previous answers have been extremely helpful since I\'m pretty new to Python.[详细]
2023-02-27 17:05 分类:问答Parsing html content with python and modifying it [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-02-26 12:22 分类:问答using nextSibling from BeautifulSoup outputs nothing
I\'m trying to use BeautifulSoup on the following: <h4>Hello<br /></h4> <p><img src=\"http://url.goes.here\" alt=\"hiya\" class=\"img\" />May 28, 1996</p>[详细]
2023-02-26 08:43 分类:问答