mirror of
https://github.com/varunsridharan/github-gitea-mirror.git
synced 2024-08-17 13:51:15 +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():
|
for repo in gh.get_user().get_starred():
|
||||||
log('⭐ Star\'ed Repository : {0}'.format(repo.full_name))
|
log('⭐ Star\'ed Repository : {0}'.format(repo.full_name))
|
||||||
log(repo)
|
|
||||||
loop_count = loop_count + 1
|
loop_count = loop_count + 1
|
||||||
real_repo = repo.full_name.split('/')[1]
|
|
||||||
gitea_dest_user = repo.owner.login
|
try:
|
||||||
repo_owner=repo.owner.login
|
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):
|
if isBlacklistedRepository(repo.full_name):
|
||||||
print(" ---> Warning : Repository Matches Blacklist")
|
print(" ---> Warning : Repository Matches Blacklist")
|
||||||
|
Loading…
Reference in New Issue
Block a user