You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
cyremur
added a commit
to cyremur/pytumblr
that referenced
this issue
Jul 29, 2021
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
inhelpers
, 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
The text was updated successfully, but these errors were encountered: