Groups
Sign in
Groups
beautifulsoup
Conversations
About
Send feedback
Help
beautifulsoup
Contact owners and managers
1–30 of 1571
Mark all as read
Report group
0 selected
Heck Lennon
,
leonardr
4
9:44 AM
Why doesn't BS add charset meta in header?
I think I can clear this up. First, as you discovered, Beautiful Soup won't add a <meta>
unread,
Why doesn't BS add charset meta in header?
I think I can clear this up. First, as you discovered, Beautiful Soup won't add a <meta>
9:44 AM
Heck Lennon
9:27 AM
Right way to remove duplicates in head?
Hello, Running the script adds an element in the header each time it's run. What is the right way
unread,
Right way to remove duplicates in head?
Hello, Running the script adds an element in the header each time it's run. What is the right way
9:27 AM
Chris Papademetrious
,
leonardr
3
Apr 21
how do I extend BeautifulSoup to add my own convenience methods?
Hi Leonard, As a test, I adapted my_get_text() from #1768330: get_text() doesn't retain semantic
unread,
how do I extend BeautifulSoup to add my own convenience methods?
Hi Leonard, As a test, I adapted my_get_text() from #1768330: get_text() doesn't retain semantic
Apr 21
Per Göttlicher
, …
leonardr
5
Apr 17
lxml and html.parser output differs
Thanks for filing the bug report! I was unsure if this was actually a bug or just a weird quirk of
unread,
lxml and html.parser output differs
Thanks for filing the bug report! I was unsure if this was actually a bug or just a weird quirk of
Apr 17
Michael Brown
, …
leonardr
4
Apr 11
JSP file parsing - extend html comments ??
Mike, The way to handle the JSP syntax would be to write a TreeBuilder implementation that can handle
unread,
JSP file parsing - extend html comments ??
Mike, The way to handle the JSP syntax would be to write a TreeBuilder implementation that can handle
Apr 11
Estefanìa Chávez
,
Carlos
2
Apr 8
Webscraping of assets in Morningstar
Hello, the error FeatureNotFound in that case means that the parser you passed to the BeautifulSoup
unread,
Webscraping of assets in Morningstar
Hello, the error FeatureNotFound in that case means that the parser you passed to the BeautifulSoup
Apr 8
Mansour Moufid
,
Chris Papademetrious
4
Mar 29
Adding abbr tags to a document
Hi Mansour, Another way to do this is by building a regex pattern that matches any abbreviation in
unread,
Adding abbr tags to a document
Hi Mansour, Another way to do this is by building a regex pattern that matches any abbreviation in
Mar 29
leonardr
,
Chris Papademetrious
2
Mar 24
Beautiful Soup 4.13.0 beta 2
Hi Leonard, Thanks for making the 4.13.0b2 package available for easier testing! I ran our content
unread,
Beautiful Soup 4.13.0 beta 2
Hi Leonard, Thanks for making the 4.13.0b2 package available for easier testing! I ran our content
Mar 24
Chris Papademetrious
,
leonardr
3
Mar 24
is there a way to create a new_tag() without a soup object handy?
Hi everyone, I ended up going with an approach where I construct the desired new content as HTML:
unread,
is there a way to create a new_tag() without a soup object handy?
Hi everyone, I ended up going with an approach where I construct the desired new content as HTML:
Mar 24
Chris M
, …
Carlos
4
Mar 19
Beautiful Soup Cheat Sheet posted
Hello Chris and Phoenix. Thank you for comments on the cheat sheet. I've never used Jupyter
unread,
Beautiful Soup Cheat Sheet posted
Hello Chris and Phoenix. Thank you for comments on the cheat sheet. I've never used Jupyter
Mar 19
Frattos Dj (Dj Frattos)
,
Chris Papademetrious
2
Mar 17
How working correctly with Beautifulsoup to not generate Type Checking alerts in VSCode?
Try adding a type annotation to let VSCode know that table_stats_body contains Tag objects:
unread,
How working correctly with Beautifulsoup to not generate Type Checking alerts in VSCode?
Try adding a type annotation to let VSCode know that table_stats_body contains Tag objects:
Mar 17
Jošt Prevc
Mar 4
Copy of BeautifulSoup object does not preserve element_classes
The code below shows the problem where making a copy does not preserve the element_classes value in
unread,
Copy of BeautifulSoup object does not preserve element_classes
The code below shows the problem where making a copy does not preserve the element_classes value in
Mar 4
Twinkal Paralkar
,
leonardr
2
Feb 29
code is not working for long script
Twinkal, It's difficult to say what's going on without knowing the URL or markup that is
unread,
code is not working for long script
Twinkal, It's difficult to say what's going on without knowing the URL or markup that is
Feb 29
Heck Lennon
,
leonardr
5
Feb 28
Data in head doesn't match what it says in the file
Fantastic! Thank you. On Wednesday, February 28, 2024 at 6:48:43 PM UTC+1 leonardr wrote: Yes,
unread,
Data in head doesn't match what it says in the file
Fantastic! Thank you. On Wednesday, February 28, 2024 at 6:48:43 PM UTC+1 leonardr wrote: Yes,
Feb 28
Krisztián Pintér
,
leonardr
2
Feb 28
parsing invalid href
It looks like this is a strategy for parsing ambiguous HTML specific to Python's built-in HTML
unread,
parsing invalid href
It looks like this is a strategy for parsing ambiguous HTML specific to Python's built-in HTML
Feb 28
Chris Papademetrious
Jan 20
some initial findings with the 4.13 branch
Hi Leonard, I tried the 4.13 branch out on one of our content processing pipelines at my day job. It
unread,
some initial findings with the 4.13 branch
Hi Leonard, I tried the 4.13 branch out on one of our content processing pipelines at my day job. It
Jan 20
leonardr
,
Tara Matheney
3
Jan 18
Beautiful Soup 4.12.3
Thanks for letting me know; I've fixed the problem. Leonard On Thursday, January 18, 2024 at 8:47
unread,
Beautiful Soup 4.12.3
Thanks for letting me know; I've fixed the problem. Leonard On Thursday, January 18, 2024 at 8:47
Jan 18
محمدمهدی خدادوست
,
Carlos
2
Jan 15
upload a photo and copy link
Hello, Marco. That page uses a JavaScript function to read the content of the selected QR images.
unread,
upload a photo and copy link
Hello, Marco. That page uses a JavaScript function to read the content of the selected QR images.
Jan 15
Delong Wang
,
Carlos
2
Jan 15
Update Chinese doc from 4.4 to 4.12
You can easily incorporate your changes to the official repo by cloning it on your Launchpad account,
unread,
Update Chinese doc from 4.4 to 4.12
You can easily incorporate your changes to the official repo by cloning it on your Launchpad account,
Jan 15
Chris Papademetrious
Jan 10
converting flat HTML to hierarchical HTML based on heading levels
Hi everyone, In various forums (Stack Overflow, etc.), I've seen many people ask how to convert
unread,
converting flat HTML to hierarchical HTML based on heading levels
Hi everyone, In various forums (Stack Overflow, etc.), I've seen many people ask how to convert
Jan 10
Srikanta Raju
Jan 8
IXBRL generator
hi, I am trying to a build ixbrl generator through word addin. I am able to add tags to word document
unread,
IXBRL generator
hi, I am trying to a build ixbrl generator through word addin. I am able to add tags to word document
Jan 8
Chris Papademetrious
4
12/29/23
skipping whitespace string tags when navigating the tree?
My understanding of PageElement was incorrect (I thought it was the parent type of Tag,
unread,
skipping whitespace string tags when navigating the tree?
My understanding of PageElement was incorrect (I thought it was the parent type of Tag,
12/29/23
Chris Papademetrious
12/9/23
two merge requests to make content transformation easier
Hi everyone, I am using Beautiful Soup to convert HTML content from many sources into a common format
unread,
two merge requests to make content transformation easier
Hi everyone, I am using Beautiful Soup to convert HTML content from many sources into a common format
12/9/23
Janardhan Reddy D
,
Isaac Muse
5
12/6/23
Getting data from tags of sub-tags few of tags having index finding all string data from child tags
If you just want to use findAll only, you can probably do something like: results = [el.text for el
unread,
Getting data from tags of sub-tags few of tags having index finding all string data from child tags
If you just want to use findAll only, you can probably do something like: results = [el.text for el
12/6/23
Aadi Anaskure
,
Jim Tittsler
2
12/4/23
Installation
On Mon, Dec 4, 2023 at 10:00 PM Aadi Anaskure <aadi.a...@gmail.com> wrote: > > I am
unread,
Installation
On Mon, Dec 4, 2023 at 10:00 PM Aadi Anaskure <aadi.a...@gmail.com> wrote: > > I am
12/4/23
Chris Papademetrious
,
Isaac Muse
4
12/2/23
"attname=[]" (empty list) matches everything
I won't comment on “what it should do”, but I'll post this which compares the various
unread,
"attname=[]" (empty list) matches everything
I won't comment on “what it should do”, but I'll post this which compares the various
12/2/23
Richard Offer
,
Isaac Muse
3
11/26/23
Having issues updating text within a paragraph AFTER other tags
Doh! Thanks - I'd been staring at that for ages... Richard On Sunday, November 26, 2023 at 3:17:
unread,
Having issues updating text within a paragraph AFTER other tags
Doh! Thanks - I'd been staring at that for ages... Richard On Sunday, November 26, 2023 at 3:17:
11/26/23
Unk
, …
Chris Papademetrious
5
11/25/23
shuffle tags with xpath
You might be able to do what you want with CSS selectors in Beautiful Soup. There are some similar
unread,
shuffle tags with xpath
You might be able to do what you want with CSS selectors in Beautiful Soup. There are some similar
11/25/23
Chris Papademetrious
,
leonardr
3
11/24/23
CSS selectors work only if .css property is not used
Thanks Leonard! It looks like this was an RTFM question. :) I am reading through the documentation
unread,
CSS selectors work only if .css property is not used
Thanks Leonard! It looks like this was an RTFM question. :) I am reading through the documentation
11/24/23
Vynne L.
,
Isaac Muse
2
11/7/23
Can't install on sublime text
I don't know what you mean by “install” bs4 in Sublime Text. Sublime Text is an editor. There is
unread,
Can't install on sublime text
I don't know what you mean by “install” bs4 in Sublime Text. Sublime Text is an editor. There is
11/7/23