Skip to content

bsoup needs lots of improvements #155

@dustmop

Description

@dustmop

Bsoup was written a long time ago, based mainly on the reference python implementation, without too much regard for how easy it would be to use by developers. It was also built when starlark was much younger, and was missing key features such as arbitrary attribute support.

Some things that should be fixed:

  • printing nodes should work. Perhaps they could display as an expandable tree
  • contents() returns weird results
  • get_text is not recursive
  • no method to get tag name
  • parent.div should work, returning a div child node of parent. child() would be unnecessary then
  • parseHtml -> bsoup() rename

Also the docs need lots of work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions