From: Roland Häder Date: Sun, 25 Jun 2023 10:13:23 +0000 (+0200) Subject: Fixed: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cff7d0403edee4cf1623e723f96b43a9a6266ba4;p=fba.git Fixed: - some lemmy instances uses a table, instead of an unsorted list for their /instances view --- diff --git a/fba/networks/lemmy.py b/fba/networks/lemmy.py index e8bba35..c8d0bad 100644 --- a/fba/networks/lemmy.py +++ b/fba/networks/lemmy.py @@ -160,7 +160,7 @@ def fetch_blocks(domain: str, nodeinfo_url: str) -> list: logger.debug("domain='%s' is not blocking any instances - EXIT!", domain) return blocklist - blocking = found.find_next("ul").findAll("a") + blocking = found.find_next(["ul","table"]).findAll("a") logger.debug("Found %d blocked instance(s) ...", len(blocking)) for tag in blocking: logger.debug("tag[]='%s'", type(tag))