This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Rawpixel to use
ProviderDataIngester
(#795)
* Initial refactor for Rawpixel * Format JSON * Move everything into class * Simplify ID get, add signature w/ notes (it is incomplete) * Add logic for injecting API signature * Add NO_LICENSE_FOUND constant * Improve license capture * Add function for retrieving direct URL * Add logic to remove fluff text from title * Fill out more fields * Add popularity data * Add ingestion callable to workflows list * Update data based on new API response * Use style_uri to determine image URL * Remove get_response_json override, add docs * Update tests * Update DAGs.md * Add Rawpixel key to env.template & sort values * Add thumbnail capture into meta_data * Remove unnecessary logging line Co-authored-by: Krystle Salazar <[email protected]> * Comment out Airflow Variable API key examples * Add reference to image popularity metrics calculation * Remove thumbnail extraction for now * Fine-tune string cleaning a bit more * More regex fine-tuning * Revert "Comment out Airflow Variable API key examples" This reverts commit f2b6a3a. * Fix tests * Update documentation * Rename _get_source to _get_creator Co-authored-by: Krystle Salazar <[email protected]>
- Loading branch information
1 parent
a61bba4
commit 4d01826
Showing
11 changed files
with
928 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.