I'm trying to create a unittest where one can find body tags within html tag, I've attempted to make the following test but I'm seeing a syntax error for some reason, I have properly set up Beautiful ...

Python beginner here, first attempt at using the CSV module to export scrape results. The script in question returns several table elements, only interested in the "price" and "mfr-no" for each of the ...

I am new to python and I learned there are no different between single and double quoted string.
But I have found some different behavior.
from bs4 import BeautifulSoup
import urllib.request
url1 = ...

I have to parse some nasty government created html (http://www.spokanecounty.org/detentionservices/inmateroster/detail2.aspx?sysid=84060) and to ease my pain I would like to insert some html fragments ...

I am trying to crawl through all the pages of a website and pull out all instances of a certain tag/class.
It seems to be pulling information from the same page over and over again, but I'm not sure ...

Fom parsing an HTML file with Beautifulsoup (python 2.7), I have the following list of lists structure (and I want it like this in one CSV file row).
[[['aaa', 'bbb', 'ccc'], ['ddd', 'eee', 'fff']], ...

I have installed both Python 3.5 and Beautifulsoup4. When I try to import bs4, I get the error below. Is there any fix for that? Or should I just install Python 3.4 instead?
Please be very explicit - ...

Here are the facts :
I want to scrape a particular text from a web page. This text is a price : 25€.
I know from the source code that the web page is encoded in iso-8859-15.
Right now I am using the ...

Ok, I have been scratching my head on this for way too long. I am trying to retrieve the url for an embedded video on a web page using Beautiful Soup and requests modules in Python 2.7.6. I inspect ...

I'm trying to figure out how to create unittest for figuring out html tags in a document or a set of documents. I was thinking of using Beautifulsoup to pull tags out but I have a hard time to create ...

So i'm very new to python and I'm trying to get data from a table from iso-ne.com/isoexpress/ using bs4 and urllib. Here's what I have so far:
from bs4 import BeautifulSoup
from urllib import urlopen
...

So the last programmer left me with this script, that grabs all the old content and writes it's all out as a "partial' file.. which strips out all the container html and leave's just the html of the ...

Is there a way to convert the text file into DOM using BeautifulSoup ??
I have a text file which contains the Facebook html elements copied in it. I want to scrap FB data using the HTML elements but ...

I am trying to parse the information in the web page http://www.baseball-reference.com/teams/BOS/2000-pitching.shtml in Python using BeautifulSoup. I want to print out the corresponding name of each ...