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

reject Amazon dvd imports #9905

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

DebbieSan
Copy link
Contributor

Closes #9879

Prevents dvds from being imported from the Amazon API. They were previously being imported as books.

Technical

If Product_group OR Physical_format match 'dvd' it will not be imported.

Testing

unit tests included in tests_vendors.py

Stakeholders

@scottbarnes

Copy link
Collaborator

@scottbarnes scottbarnes left a comment

Choose a reason for hiding this comment

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

Great work, @DebbieSan. Thanks for this! These tests especially will be really helpful in making further improvements to this import pipeline.

@scottbarnes scottbarnes merged commit fc46984 into internetarchive:master Sep 30, 2024
3 checks passed
DanielleInkster pushed a commit to DanielleInkster/openlibrary that referenced this pull request Oct 1, 2024
* reject Amazon DVD imports
* Handle `None` cases as the API can in theory return `None`
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.

ISBN search imports DVDs from Amazon.com
2 participants