Skip to content
Snippets Groups Projects

remove warning from BeautifulSoup

Merged Vuillaume requested to merge fix_bs4 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -538,7 +538,7 @@ class Record:
def print_info(self):
metadata = self.data['metadata']
descrp = BeautifulSoup(metadata['description']).text
descrp = BeautifulSoup(metadata['description'], features='html.parser').get_text()
print(f"=== Record #{self.id} ===")
print(f"Title: {self.title} ===")
print(f"DOI: {self.data['doi']}")
Loading