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