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

UUIDs are not supported #124

Open
ievans3024 opened this issue Dec 15, 2018 · 0 comments
Open

UUIDs are not supported #124

ievans3024 opened this issue Dec 15, 2018 · 0 comments

Comments

@ievans3024
Copy link

Tumblr's API allows you to use a UUID (e.g., t:0aY0xL2Fi1OFJg4YxpmegQ) instead of a blog url (in the case of the aforementioned UUID, staff.tumblr.com.) Programmatically, this is a much more useful identifier to go by, as it's persistent regardless of whether the blogname changes.

The problem is in add_dot_tumblr in helpers, which assumes that the identifier being passed is always a .tumblr.com url unless it otherwise looks like a url.

Tumblr's UUIDs always start with t:, so the simple fix is to check for that before adding .tumblr.com

cyremur added a commit to cyremur/pytumblr that referenced this issue Jul 29, 2021
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

No branches or pull requests

1 participant