Use a HEAD request for WordPressDataIngester::_get_filesize #1377
Labels
💻 aspect: code
Concerns the software code in the repository
🧰 goal: internal improvement
Improvement that benefits maintainers, not users
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
⛔ status: blocked
Blocked & therefore, not ready for work
🐍 tech: python
Involves Python
Description
Similar to #1493 and #1578, it would be nice to use a HEAD request when retrieving the content length of the images in the WordPress Photo Directory provider script:
https://github.com/WordPress/openverse-catalog/blob/825e478bf65e4807ca47fdcd88c9f0af6472cece/openverse_catalog/dags/providers/provider_api_scripts/wordpress.py#L123-L127
Additional context
Soft blocked by #1579
Implementation
The text was updated successfully, but these errors were encountered: