mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
CPAN: Use metacpan fastapi
All docs in metacpan.org currently point to this new API endpoint. The old API endpoint returns wrong data for e.g. TermReadKey (latest 2.37 vs API 2.14), and the new API endpoint doesn't have this issue.
This commit is contained in:
parent
e3aae23225
commit
02809b703f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
from .simple_json import simple_json
|
||||
|
||||
# Using metacpan
|
||||
CPAN_URL = 'https://api.metacpan.org/release/%s'
|
||||
CPAN_URL = 'https://fastapi.metacpan.org/release/%s'
|
||||
|
||||
def _version_from_json(data):
|
||||
return str(data['version'])
|
||||
|
|
Loading…
Add table
Reference in a new issue