minor fixes/logs

This commit is contained in:
Believethehype
2024-06-01 19:30:09 +02:00
parent a9d09442a4
commit a6f4bbc5ed
2 changed files with 5 additions and 5 deletions

View File

@@ -143,7 +143,7 @@ class DicoverContentCurrentlyPopularFollowers(DVMTaskInterface):
if tag.as_vec()[0] == "p": if tag.as_vec()[0] == "p":
following = PublicKey.parse(tag.as_vec()[1]) following = PublicKey.parse(tag.as_vec()[1])
followings.append(following) followings.append(following)
print("[" + self.dvm_config.NIP89.NAME + "] Considering " + str(len(followings)) + " Followers")
filter1 = Filter().kind(definitions.EventDefinitions.KIND_NOTE).authors(followings).since(since) filter1 = Filter().kind(definitions.EventDefinitions.KIND_NOTE).authors(followings).since(since)
events = self.client.database().query([filter1]) events = self.client.database().query([filter1])
print("[" + self.dvm_config.NIP89.NAME + "] Considering " + str(len(events)) + " Events") print("[" + self.dvm_config.NIP89.NAME + "] Considering " + str(len(events)) + " Events")

View File

@@ -393,10 +393,10 @@ def playground():
admin_config_followers = AdminConfig() admin_config_followers = AdminConfig()
admin_config_followers.REBROADCAST_NIP89 = rebbroadcast_NIP89 admin_config_followers.REBROADCAST_NIP89 = rebbroadcast_NIP89
admin_config_followers.UPDATE_PROFILE = False admin_config_followers.UPDATE_PROFILE = False
admin_config_followers.DELETE_NIP89 = False #admin_config_followers.DELETE_NIP89 = True
admin_config_followers.PRIVKEY = "" #admin_config_followers.PRIVKEY = ""
admin_config_followers.EVENTID = "" #admin_config_followers.EVENTID = ""
admin_config_followers.POW = True #admin_config_followers.POW = True
custom_processing_msg = ["Processing popular notes from npubs you follow..", custom_processing_msg = ["Processing popular notes from npubs you follow..",
"Let's see what npubs you follow have been up to..", "Let's see what npubs you follow have been up to..",
"Processing a personalized feed, just for you.."] "Processing a personalized feed, just for you.."]