mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-30 05:24:25 +01:00
CliFunction
This commit is contained in:
@@ -10,7 +10,8 @@ https://stackoverflow.com/questions/24987542/is-there-a-link-to-github-for-downl
|
||||
import urllib.request
|
||||
|
||||
import common
|
||||
from shell_helpers import LF
|
||||
|
||||
_json = common.github_make_request(path='/releases')
|
||||
_json = self.github_make_request(path='/releases')
|
||||
asset = _json[0]['assets'][0]
|
||||
urllib.request.urlretrieve(asset['browser_download_url'], asset['name'])
|
||||
|
||||
Reference in New Issue
Block a user