You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same problem here, because the server wouldn't send the correct headers and pywebcopy wouldn't read the meta charset from the html. I forced the encoding because I knew it:
(venv) code/pywebcopy [master {origin/master} ↑1|✔]: python
Python 3.12.4 (v3.12.4:8e8a4baf65, Jun 6 2024, 17:33:18) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pywebcopy import save_website
>>> from pywebcopy.configs import default_config
>>> default_config["encoding"] = "utf-8"
>>> save_website(url="https://www.website.tld/", project_folder="/my/folder/", project_name="project name")
UTF-8 encoded websites are not saved with that encoding for me, causing issues.
Possibly related to #64.
The text was updated successfully, but these errors were encountered: