Skip to content

Commit

Permalink
NEED CONFIRM: turn on SSL certificate check
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Aug 27, 2024
1 parent 6b42af3 commit ae52433
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pymatgen/io/vasp/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def get_help(cls, tag: str, fmt: str = "text") -> str:
tag = tag.upper()
response = requests.get(
f"https://www.vasp.at/wiki/index.php/{tag}",
verify=False, # noqa: S501
timeout=600,
)
soup = BeautifulSoup(response.text)
Expand All @@ -74,7 +73,7 @@ def get_incar_tags(cls) -> list[str]:
"https://www.vasp.at/wiki/index.php/Category:INCAR",
"https://www.vasp.at/wiki/index.php?title=Category:INCAR&pagefrom=ML+FF+LCONF+DISCARD#mw-pages",
):
response = requests.get(page, verify=False, timeout=600) # noqa: S501
response = requests.get(page, timeout=600)
soup = BeautifulSoup(response.text)
for div in soup.findAll("div", {"class": "mw-category-group"}):
children = div.findChildren("li")
Expand Down

0 comments on commit ae52433

Please sign in to comment.