Skip to content

Commit 66e6c3e

Browse files
committed
💩 Insert bug
1 parent e29e6f7 commit 66e6c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/actions.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def update(pkg_name, version):
129129
# Extract the URL from the onclick attribute
130130
button = soup.find('button', id='repoHomepage')
131131
if button:
132-
link = button.get("onclick")[len("openLinkInNewTab('"):-2]
132+
link = button.get("onclick")[len("location.href='"):-1]
133133
else:
134134
raise Exception("Homepage URL not found")
135135

0 commit comments

Comments
 (0)