tumblr: fix failure to upload new Tumblr URLs containing the post title.

Fix failure to upload Tumblr URLs of this form:

* https://www.tumblr.com/munespice/683613396085719040/saur-family
This commit is contained in:
evazion
2022-10-13 21:08:47 -05:00
parent 268ec9118a
commit 115521906c
2 changed files with 13 additions and 2 deletions

View File

@@ -48,8 +48,9 @@ class Source::URL::Tumblr < Source::URL
@blog_name = subdomain unless subdomain == "www"
@work_id = work_id
# https://tumblr.com/munespice/683613396085719040, new dashboard links
in ("tumblr.com" | "www.tumblr.com"), blog_name, /^\d+$/ => work_id
# https://tumblr.com/munespice/683613396085719040 # new dashboard links
# https://www.tumblr.com/yamujiburo/682910938493599744/will-tumblr-let-me-keep-this-up
in ("tumblr.com" | "www.tumblr.com"), blog_name, /^\d+$/ => work_id, *rest
@blog_name = blog_name
@work_id = work_id