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

UnicodeEncodeError when calling print(output_from_parsed_template) for some websites #64

Open
Lima-Codes opened this issue Mar 31, 2021 · 1 comment
Assignees
Labels

Comments

@Lima-Codes
Copy link

Describe the bug
When running the analyzer on https://www.amazon.jobs/en/, the following error occurs:

UnicodeEncodeError: 'charmap' codec can't encode character '\u202f' in position 10874: character maps to <undefined>

The error occurs when calling print(output_from_parsed_template) in __main__.py and seem to be related to the html output option.

When commenting out the print statement, the program finishes but the HTML output report is blank.

To Reproduce
Steps to reproduce the behavior:

  1. Run seoanalyze https://www.amazon.jobs/en/ --output-format html

Expected behavior
No error. Program executes normally.

Desktop (please complete the following information):

  • OS: Windows 10
@Lima-Codes Lima-Codes changed the title https://www.amazon.jobs/en/ UnicodeEncodeError when calling print(output_from_parsed_template) for some websites Mar 31, 2021
@sethblack
Copy link
Owner

Hmm. This one may be a bit tricker but I have some ideas.

@sethblack sethblack self-assigned this Apr 10, 2021
@sethblack sethblack added the bug label Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants