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

[Feature request]: Skip parsing errors in messy HTMLs #36

Closed
danuid opened this issue May 30, 2022 · 0 comments
Closed

[Feature request]: Skip parsing errors in messy HTMLs #36

danuid opened this issue May 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@danuid
Copy link

danuid commented May 30, 2022

Suggestion

I am trying to import my notes which include quite some web clips.
A lot of the the HTMLs are quite messy, and the import would fail.

Can we have a option that skip notes that could not be parsed?

btw, my import dies on this line:

 File "D:\dev_utils\Miniconda3\envs\notion_import\lib\site-packages\enex2notion\note_parser\elements\media.py", line 68, in _parse_img_resource
     img_data = parse_data_uri(bin_src)
  File "D:\dev_utils\Miniconda3\envs\notion_import\lib\site-packages\w3lib\url.py", line 381, in parse_data_uri
    raise ValueError("invalid data URI")
@danuid danuid added the enhancement New feature or request label May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant