Skip to content

Commit

Permalink
西元2025年01月05日 (週日) 04時00分29秒 CST
Browse files Browse the repository at this point in the history
  • Loading branch information
pulipulichen committed Jan 4, 2025
1 parent 12cdf3d commit b6d8480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function scrape(doc, url) {
item.tags.push(topics[i].textContent.trim());
}

let latestCommitLink = attr(doc, '[data-testid="latest-commit-html"] a', 'href');
let latestCommitLink = attr(doc, 'link[rel="canonical"]', 'href');
let commitHash = false;
if (latestCommitLink.includes('/')) {
commitHash = latestCommitLink.split('/').pop();
Expand Down

0 comments on commit b6d8480

Please sign in to comment.