Tumblr: parse new dashboard links

This commit is contained in:
nonamethanks
2022-09-28 16:57:50 +02:00
committed by N. Oname
parent 266fed1b99
commit 5051c6649d
2 changed files with 16 additions and 1 deletions

View File

@@ -176,6 +176,16 @@ module Sources
)
end
context "A tumblr.com/$blog_name/$work_id URL" do
strategy_should_work(
"https://tumblr.com/munespice/683613396085719040",
image_urls: ["https://64.media.tumblr.com/fd6b4692f6e902af861fbc242736ae61/010fd31ffbc70e84-a8/s21000x21000/e0587516e05bae4cec244921f220b45bed08335c.jpg"],
artist_name: "munespice",
page_url: "https://munespice.tumblr.com/post/683613396085719040",
profile_url: "https://munespice.tumblr.com"
)
end
context "generating page urls" do
should "work" do
source1 = "https://octrain1020.tumblr.com/post/190713122589"