]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 23 Jul 2023 18:50:56 +0000 (20:50 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 23 Jul 2023 18:50:56 +0000 (20:50 +0200)
- fetch_fedipact() belongs to beach.city, those who have their blocklist
  "hidden" in a federated account

fba/commands.py

index e7813512328ae073347dbf78bf0a1c12c9e16e2d..697486215dcba4d5459ac7bcba311af705bab0c0 100644 (file)
@@ -761,7 +761,7 @@ def fetch_fba_rss(args: argparse.Namespace) -> int:
 
         logger.debug("rss[]='%s'", type(rss))
         for item in rss.items:
-            logger.debug("item='%s'", item)
+            logger.debug("item[%s]='%s'", type(item), item)
             domain = tidyup.domain(item.link.split("=")[1])
 
             logger.debug("domain='%s' - AFTER!", domain)
@@ -1235,7 +1235,7 @@ def fetch_fedipact(args: argparse.Namespace) -> int:
                 continue
 
             logger.info("Fetching domain='%s' ...", domain)
-            federation.fetch_instances(domain, None, None, inspect.currentframe().f_code.co_name)
+            federation.fetch_instances(domain, "beach.city", None, inspect.currentframe().f_code.co_name)
 
     logger.debug("Success! - EXIT!")
     return 0