Skip to content

Commit

Permalink
Replace deprecated text argument for soup
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Nov 14, 2023
1 parent 53598ed commit 8b5eddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gget/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def find_latest_ens_rel(database=ENSEMBL_FTP_URL):

soup = BeautifulSoup(html.text, "html.parser")
# Find all releases
releases = soup.body.findAll(text=re.compile("release-"))
releases = soup.body.findAll(string=re.compile("release-"))
# Get release numbers
rels = []
for rel in releases:
Expand Down

0 comments on commit 8b5eddd

Please sign in to comment.