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

Ignore non HTTP(S) WARC records #351

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Ignore non HTTP(S) WARC records #351

merged 1 commit into from
Jul 30, 2024

Conversation

benoit74
Copy link
Collaborator

@benoit74 benoit74 commented Jul 17, 2024

Might have been a solution to #332 but not (see next comment)

NOTA : there is no test because I failed to find under which conditions we can have a non HTTP(S) WARC record + we should test for all places where we iterate on WARC records, which makes it even harder to test

@benoit74 benoit74 marked this pull request as ready for review July 17, 2024 13:30
@benoit74 benoit74 self-assigned this Jul 17, 2024
@benoit74 benoit74 requested a review from rgaudin July 17, 2024 13:30
@benoit74
Copy link
Collaborator Author

This is not fixing #332 in fact, I found why we have these weird URL schemes, bug is same as #356

I propose to still merge this PR, it is valuable, should the WARC contain records which are not http/https we still need to ignore them.

Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

src/warc2zim/converter.py Outdated Show resolved Hide resolved
@benoit74 benoit74 added this to the 2.1.0 milestone Jul 30, 2024
@benoit74 benoit74 merged commit 95790fa into main Jul 30, 2024
5 checks passed
@benoit74 benoit74 deleted the ignore_non_http_records branch July 30, 2024 14:53
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