Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: checkver fails #158

Closed
alexchapar opened this issue Mar 18, 2024 · 0 comments · Fixed by #159
Closed

python: checkver fails #158

alexchapar opened this issue Mar 18, 2024 · 0 comments · Fixed by #159

Comments

@alexchapar
Copy link
Contributor

The extractor has that error while trying to find the latest version :
python: couldn't match 'Latest Python 3 Release - Python ([\d.]+)' in https://www.python.org/downloads/windows/

It seems that scoop don't seem to be able to decipher the content correctly...

Some examples similar-ish of what scoop will receive :

  • url : https://www.python.org/downloads/windows/
    curl -i https://www.python.org/downloads/windows/ --output -
    The output looks like
    HTTP/1.1 200 OK
    Connection: keep-alive
    Content-Length: 27045
    Content-Type: text/html; charset=utf-8
    [...]
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
    
    ▼♥��w�F�/����(��qvH�o*���8vƹ��↔e&{��♥��♦�$↑☻�����~����↨ Q��.��ܝ�☼◄�ꮮwW��i▲͒�u�]'
    ���g�⌂j��◄^z��{�����S�ț-�8>;ZE�7�↨♠#�J+♀��?‼�#����◄����?[���_+�A�/�w�������↨§L�{

One solution could be to fall back using the github tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant