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

centralize url unique hash generation with helper method in this package #70

Merged
merged 4 commits into from
Dec 13, 2023

Conversation

rahulbot
Copy link
Contributor

Various places across our repos need to generate the unique hash for a URL. This adds a small unique_url_hash helper method and a new property (same name) returned from calls to extract. Based on idea proposed in mediacloud/story-indexer#194 (comment), mostly because it only took about 5 minutes and made sense to me. Very open to counter-arguments about whether this is the right place.

@rahulbot rahulbot merged commit 2eac130 into main Dec 13, 2023
2 checks passed
@rahulbot
Copy link
Contributor Author

(prob should have rebased instead of pulling in main, but 🤷🏽‍♂️)

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.

5 participants