Spaces:
Runtime error
Runtime error
Download cl-cleanup.py from PrecisionContent/DU: direct link, hf CLI and curl.
- Browser
- Download file 148 Bytes
-
https://huggingface.co/spaces/PrecisionContent/DU/resolve/main/cl-cleanup.py
- Command line
-
hf download hf://spaces/PrecisionContent/DU/cl-cleanup.py
-
curl -L -o cl-cleanup.py https://huggingface.co/spaces/PrecisionContent/DU/resolve/main/cl-cleanup.py
148 Bytes
| import parse, sys | |
| soup = parse.parse(sys.argv[1]) | |
| with open(sys.argv[1]+"-cleaned.html", "w", encoding="utf-8") as file: | |
| file.write(str(soup)) |