mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
Fix redirect update
This commit is contained in:
parent
8df59de933
commit
1d56b0c9d4
2
.github/workflows/update-loc.yml
vendored
2
.github/workflows/update-loc.yml
vendored
@ -1,8 +1,6 @@
|
||||
name: Update Lines of Code
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
@ -126,7 +126,7 @@ def download_and_extract_latest_commit():
|
||||
'Accept': 'application/vnd.github.v3+json',
|
||||
'User-Agent': f'{__title__}-updater'
|
||||
}
|
||||
response = httpx.get(api_url, headers=headers, timeout=max_timeout)
|
||||
response = httpx.get(api_url, headers=headers, timeout=max_timeout, follow_redirects=True)
|
||||
|
||||
if response.status_code == 200:
|
||||
commit_info = response.json()[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user