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

Fix whitespace issue in Endpoint.get URL #6

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

cesarc09
Copy link
Contributor

When trying out mentioned examples in the ReadME.md, like await tcgdex.illustrator.get('tetsuya koizumi'), the following error gets raised: http.client.InvalidURL: URL can't contain control characters..

This is because whitespace characters are never replaced with %20 in the Endpoint.get() method.
This PR solves this issue and await tcgdex.illustrator.get('tetsuya koizumi') returns the expected result.

@Aviortheking Aviortheking merged commit 709d797 into tcgdex:master Jan 27, 2025
5 checks passed
@Aviortheking
Copy link
Member

thanks for the PR !

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.

2 participants