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

Add support to Archiveless collection #63

Merged
merged 9 commits into from
Jul 21, 2023
Merged

Conversation

FledgeXu
Copy link
Collaborator

Fix: #60.

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.

I am surprised to discover that --archive was already a non-required argument! 😀

Anyway I think your approach is not right. Most of check_archiveless_collection is duplicated code from other parts.

It would be best to adapt or rewrite test_files to support both and reduce code duplication.

Also, please add an entry in the CHANGELOG

nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Show resolved Hide resolved
@rgaudin
Copy link
Member

rgaudin commented Jul 20, 2023

Ah I realize the PR is in Draft ; Sorry 😀

@FledgeXu
Copy link
Collaborator Author

It would be best to adapt or rewrite test_files to support both and reduce code duplication.

Yeah, that's my plan.

Ah I realize the PR is in Draft ; Sorry 😀

lol, it's ok.

@FledgeXu FledgeXu marked this pull request as ready for review July 20, 2023 15:08
@FledgeXu FledgeXu requested a review from rgaudin July 20, 2023 15:08
nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Outdated Show resolved Hide resolved
@FledgeXu FledgeXu requested a review from rgaudin July 20, 2023 22:50
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.

One tiny fix remaining

nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Outdated Show resolved Hide resolved
nautiluszim/scraper.py Outdated Show resolved Hide resolved
@FledgeXu FledgeXu requested a review from rgaudin July 21, 2023 13:43
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.

Thank you!

@rgaudin rgaudin merged commit e0117e5 into main Jul 21, 2023
2 checks passed
@rgaudin rgaudin deleted the support-archiveless-collection branch July 21, 2023 14:16
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.

Allow archiveless scenario
2 participants