Skip to content

Commit

Permalink
Update 1.download.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoch committed Jul 5, 2023
1 parent dea889e commit b65db44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 1.download.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ def main():
continue

repo = pedia.get(reponame[0])
if "data" not in repo.data:
print(f'WARNING: skipping repository {reponame[0]}, does not have "data" key.')
continue

meta["topics"][repo.uid] = repo.data["data"].get("topics", [])
meta["language"][repo.uid] = repo.data["data"].get("language", "unknown")
meta["url"][repo.uid] = repo.url
Expand Down

0 comments on commit b65db44

Please sign in to comment.