clearlydefined / clearlydefined/crawler

Nuget crawls for newer packages failing due to api version

Open
#390 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
60
Forks
38
Avg merge
1h 49m
Merged PRs (30d)
1

Description

For example:
https://github.com/clearlydefined/crawler/blob/master/providers/fetch/nugetFetch.js#L70
```
`${baseUrl}/v3/registration4-gz-semver2/${spec.name.toLowerCase()}/${spec.revision}.json`
```
This doesn't work with new packages, needs `registration5`
Not sure about the other routes.

Maybe code should call `https://api.nuget.org/v3/index.json` at startup to get the current routes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.