Skip to content
Snippets Groups Projects
Commit 242a8638 authored by Vuillaume's avatar Vuillaume
Browse files

Merge branch 'fix_bs4' into 'master'

remove warning from BeautifulSoup

See merge request !62
parents 7e25e8d9 930dc1a4
No related branches found
No related tags found
1 merge request!62remove warning from BeautifulSoup
Pipeline #139512 passed
......@@ -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']}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment