Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds function for returning all sections with given title #57

Merged
merged 8 commits into from
Dec 16, 2022

Conversation

martin-majlis
Copy link
Owner

@martin-majlis martin-majlis commented Dec 16, 2022

Introduces new functions:

  • WikipediaPage.sections_by_title - which returns all sections with given title
  • WikipediaPageSection.section_by_title - which returns subsection with given title from given section

Fixes #39

@martin-majlis martin-majlis merged commit 524a5fb into master Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

section_by_title with identical names returns info from the last one only
1 participant