Skip to content

Ignore URI "data:..." - #17

Merged
mitchcapper merged 1 commit into
mitchcapper:masterfrom
marcstern:data_uri
Jan 26, 2023
Merged

mitchcapper merged 1 commit into
mitchcapper:masterfrom
marcstern:data_uri

Conversation

@marcstern

Copy link
Copy Markdown

When a file contains a URI in the form "data:...", like "data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)", httrack tries to download it resulting in an error. This error may sometimes (depending on the options?) lead to end the parsing of the current file.
This PR just add a tiny check for this case.

@mitchcapper
mitchcapper merged commit c99f795 into mitchcapper:master Jan 26, 2023
@mitchcapper

Copy link
Copy Markdown
Owner

Perfect,merged, thank you!Perfect,merged, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants