getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.6k stars 445 forks source link

CSS minify-filter does not work - cssminifier.com HTTP 404 #3658

Closed CaffeineFueled1 closed 1 year ago

CaffeineFueled1 commented 1 year ago

Environment

Python Version:

Python 3.10.6

Nikola Version:

Nikola v8.2.3 - Installed via pip in venv

Operating System:

Ubuntu 22.04.1 LTS

Description:

I tried to use the filter to minify the CSS-file by adding filters.cssminify to my configuration file.

The cssminifier.com is redirecting to https://www.toptal.com/developers/cssminifier.

The error msg:

LOGGER.error("can't use cssminifier.com: HTTP status {}", response.status_code)
Message: "can't use cssminifier.com: HTTP status {}"                          
Arguments: (404,)    
Kwpolska commented 1 year ago

They changed the API URL for some reason, I fixed it.