replace ghproxy link
This commit is contained in:
parent
071c40f019
commit
d9d84cf107
2
main.py
2
main.py
@ -188,7 +188,7 @@ def parse_xpi_detail(plugin: AddonInfo, release: AddonInfoRelease, release_asset
|
|||||||
release.releaseDate = release_asset['updated_at']
|
release.releaseDate = release_asset['updated_at']
|
||||||
release.xpiDownloadUrl = {
|
release.xpiDownloadUrl = {
|
||||||
'github': github_xpi_url,
|
'github': github_xpi_url,
|
||||||
'ghProxy': 'https://ghproxy.com/?q=' + urllib.parse.quote(github_xpi_url),
|
'ghProxy': 'https://gh-proxy.com/' + urllib.parse.quote(github_xpi_url),
|
||||||
'kgithub': github_xpi_url.replace('github.com', 'kkgithub.com'),
|
'kgithub': github_xpi_url.replace('github.com', 'kkgithub.com'),
|
||||||
}
|
}
|
||||||
details = xpi_detail(xpi_url=github_xpi_url,
|
details = xpi_detail(xpi_url=github_xpi_url,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user