mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-23 05:00:54 +03:00
Added PR multiarch
Added python3.8-dev/build-essential to dockerfile Adds token to GH actions for GetTwitchDownloader
This commit is contained in:
@@ -26,7 +26,8 @@ def getZipName():
|
||||
|
||||
def getLatestFileInRepo(repo, search_string):
|
||||
# Create an unauthenticated instance of the Github object
|
||||
g = Github(os.environ.get('GH_TOKEN'))
|
||||
gh_token = os.environ.get('GH_TOKEN')
|
||||
g = Github(gh_token if gh_token else None) # ensure it's none if it's falsy
|
||||
|
||||
# Replace with the repository owner and name
|
||||
repo = g.get_repo(repo)
|
||||
|
||||
Reference in New Issue
Block a user