entity update

This commit is contained in:
2025-06-18 15:22:24 -05:00
parent a49f76173c
commit 02183c9053

View File

@ -11,7 +11,7 @@ six_hours_ago = now - timedelta(hours=6)
for repo_link in repo_links:
result = get(repo_link)
entity = repo_link.split('/')[4]
entity = f"{repo_link.split('/')[3]}/{repo_link.split('/')[4]}"
if result.reason == 'OK':
last = DefaultMunch.fromDict(parse(result.text)).entries[0]
timechk = mktime(last.published_parsed or last.updated_parsed)