From a5ea05d2b45f05c0e3da15b9f31667ae00243405 Mon Sep 17 00:00:00 2001 From: linrongbin16 Date: Tue, 23 Jan 2024 10:26:48 +0800 Subject: [PATCH] chore --- collect.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/collect.py b/collect.py index ab8aec82..7f9dd5eb 100644 --- a/collect.py +++ b/collect.py @@ -392,17 +392,10 @@ def _parse_spec( "./a/section/footer[@class='meta-footer']//div[@class='meta-footer__column']//p[@class='meta-footer__row']", ) logging.debug(f"parsing (vsc) spec creates_updates:{creates_updates}") - last_git_commit = datetime.datetime.strptime( - creates_updates[1] - .find_element(By.XPATH, "./b/time") - .get_attribute("datetime"), - "%Y-%m-%dT%H:%M:%S.%fZ", - ) - logging.debug(f"parsing (vsc) spec last_git_commit:{last_git_commit}") return ColorSpec( handle, github_stars, - last_git_commit=last_git_commit, + last_git_commit=None, priority=0, source=source, )