Skip to content

Commit

Permalink
Make ensembl safer
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Mar 25, 2024
1 parent 10d074b commit 013cc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bioversions/sources/ensembl.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class EnsemblGetter(Getter):

def get(self):
"""Get the latest Ensembl version number."""
soup = get_soup(URL, verify=False)
soup = get_soup(URL)
manifest = soup.find(**{"class": "box-header"}).text
version, date = manifest.rstrip(")").split("(", 1)
return dict(version=version.split()[-1], date=date)
Expand Down

0 comments on commit 013cc2a

Please sign in to comment.