diff options
| author | GeorgeFI | 2023-10-01 14:26:05 +0200 |
|---|---|---|
| committer | GeorgeFI | 2023-10-01 14:26:05 +0200 |
| commit | 779c19ecca9612861b8d5694c6d8a0c3e27036cb (patch) | |
| tree | 17b880a3f65eeb5688f2d56bbc2b260cf3009e20 /src | |
| parent | 498308a737943b87ecbf38a05404d4caa22fa726 (diff) | |
| download | sec-certs-779c19ecca9612861b8d5694c6d8a0c3e27036cb.tar.gz sec-certs-779c19ecca9612861b8d5694c6d8a0c3e27036cb.tar.zst sec-certs-779c19ecca9612861b8d5694c6d8a0c3e27036cb.zip | |
fix: Fixed calling method on NoneType
Diffstat (limited to 'src')
| -rw-r--r-- | src/sec_certs/sample/cc_scheme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sec_certs/sample/cc_scheme.py b/src/sec_certs/sample/cc_scheme.py index 307dfb57..bc0c0792 100644 --- a/src/sec_certs/sample/cc_scheme.py +++ b/src/sec_certs/sample/cc_scheme.py @@ -107,7 +107,7 @@ def get_australia_in_evaluation(enhanced: bool = True) -> list[dict[str, Any]]: if enhanced: e: dict[str, Any] = {} cert_page = _get_page(cert["url"]) - article = cert_page.find("article", attrs={"role": "article"}) + article = cert_page.find("article") blocks = article.find("div").find_all("div", class_="flex", recursive=False) for h2 in blocks[0].find_all("h2"): val = sns(h2.find_next_sibling("span").text) |
