Skip to content

Fix whitespace issue in Endpoint.get URL#6

Merged
Aviortheking merged 1 commit intotcgdex:masterfrom
cesarc09:master
Jan 27, 2025
Merged

Fix whitespace issue in Endpoint.get URL#6
Aviortheking merged 1 commit intotcgdex:masterfrom
cesarc09:master

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

Comments