mirror of
https://github.com/varunsridharan/github-gitea-mirror.git
synced 2024-07-14 21:20:24 +03:00
Update repositoryStared.py
This commit is contained in:
parent
1502e4c282
commit
2754a1b41a
@ -14,11 +14,18 @@ def repositoryStared():
|
||||
|
||||
for repo in gh.get_user().get_starred():
|
||||
log('⭐ Star\'ed Repository : {0}'.format(repo.full_name))
|
||||
log(repo)
|
||||
loop_count = loop_count + 1
|
||||
real_repo = repo.full_name.split('/')[1]
|
||||
gitea_dest_user = repo.owner.login
|
||||
repo_owner=repo.owner.login
|
||||
|
||||
try:
|
||||
real_repo = repo.full_name.split('/')[1]
|
||||
gitea_dest_user = repo.owner.login
|
||||
repo_owner=repo.owner.login
|
||||
except:
|
||||
log("[error] Github User / Repository Not Exists")
|
||||
continue
|
||||
|
||||
|
||||
|
||||
|
||||
if isBlacklistedRepository(repo.full_name):
|
||||
print(" ---> Warning : Repository Matches Blacklist")
|
||||
|
Loading…
Reference in New Issue
Block a user