Top "Beautifulsoup" questions

Beautiful Soup is a Python package for parsing HTML/XML.

BeautifulSoup getText from between <p>, not picking up subsequent paragraphs

Firstly, I am a complete newbie when it comes to Python. However, I have written a piece of code to …

python python-2.7 beautifulsoup
Using BeautifulSoup to extract text without tags

My webpage looks like this: <p> <strong class="offender">YOB:</strong> 1987<br/> &…

python web-scraping beautifulsoup
What should I use to open a url instead of urlopen in urllib3

I wanted to write a piece of code like the following: from bs4 import BeautifulSoup import urllib2 url = 'http://www.…

python web-scraping beautifulsoup urllib3
Scraping: SSL: CERTIFICATE_VERIFY_FAILED error for http://en.wikipedia.org

I'm practicing the code from 'Web Scraping with Python', and I keep having this certificate problem: from urllib.request import …

python web-scraping beautifulsoup scrapy ssl-certificate
How to find tags with only certain attributes - BeautifulSoup

How would I, using BeautifulSoup, search for tags containing ONLY the attributes I search for? For example, I want to …

python beautifulsoup
BeautifulSoup Grab Visible Webpage Text

Basically, I want to use BeautifulSoup to grab strictly the visible text on a webpage. For instance, this webpage is …

python text beautifulsoup html-content-extraction
ImportError: No module named BeautifulSoup

I have installed BeautifulSoup using easy_install and trying to run following script from BeautifulSoup import BeautifulSoup import re doc = […

python beautifulsoup
BeautifulSoup: extract text from anchor tag

I want to extract: text from following src of the image tag and text of the anchor tag which is …

python html beautifulsoup tags scraper
Python/BeautifulSoup - how to remove all tags from an element?

How can I simply strip all tags from an element I find in BeautifulSoup?

python beautifulsoup
Using BeautifulSoup to search html for string

I am using BeautifulSoup to look for user entered strings on a specific page. For example, I want to see …

python beautifulsoup