Skip to content

Commit

Permalink
Change lxml to html.parser
Browse files Browse the repository at this point in the history
  • Loading branch information
venvis authored May 8, 2024
1 parent 99a15dd commit 8b55bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellar/cellar_extractor/json_to_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def json_to_csv(json_data):
# Making commas as the only value separator in the dataset
value = re.sub(r",", ";", str(value))
# Remove HTML tags
value = BeautifulSoup(value, "lxml").text
value = BeautifulSoup(value, "html.parser").text

for j in [j for j, x in enumerate(COLS) if x == title]:
data[j] = value
Expand Down

0 comments on commit 8b55bbc

Please sign in to comment.