-
-
Notifications
You must be signed in to change notification settings - Fork 939
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
Tumblr: gallery-dl not downloading the best image quality available #1344
Comments
I able to produce highest resolution image by alternated this post: But when data post extracted from [
[
2,
{
"blog": {
"ask": true,
"ask_anon": true,
"ask_page_title": "Ask Me Stuff",
"asks_allow_media": true,
"avatar": [
{
"height": 512,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s512x512u_c1/53f11ada803a8a38a648523a0b62f6bcea473b27.jpg",
"width": 512
},
{
"height": 128,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s128x128u_c1/3c4e0816a20b04024d39efd8f8feb1a3ecb677de.jpg",
"width": 128
},
{
"height": 96,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s96x96u_c1/0523cc3a09db4062b0f3571c1a87d4396a75ee87.jpg",
"width": 96
},
{
"height": 64,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s64x64u_c1/2ad107fbdfeab7ef76ee7406418e7b2bc95bc591.jpg",
"width": 64
}
],
"can_chat": true,
"can_subscribe": false,
"description": "80% PMMM 90% Studio Shaft 99.9% Cute Anime Girls\n/Current Side Obsessions: Hololive/DMC5",
"is_nsfw": false,
"is_optout_ads": true,
"name": "hameru-is-cool",
"posts": 39164,
"share_likes": false,
"submission_page_title": "Submit ",
"subscribed": false,
"theme": {
"avatar_shape": "square",
"background_color": "#000000",
"body_font": "Helvetica Neue",
"header_bounds": "0,498,280,0",
"header_focus_height": 280,
"header_focus_width": 498,
"header_full_height": 281,
"header_full_width": 500,
"header_image": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s500x281/4e9875d70cc178de598c9ae4328cef35e5cc6334.gif",
"header_image_focused": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072_c0,0,99600,99644/47556b69e06f56dbca2d95f918ce6e6fc60c4576.gif",
"header_image_poster": "https://44.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072_f1/602465ae0578ab3a3f65c6bffb875fa727b982c5.gif",
"header_image_scaled": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072/8fe800a5bd87aac5014cac78740d6bcf7868ebb1.gif",
"header_stretch": true,
"link_color": "#cc42f0",
"show_avatar": true,
"show_description": true,
"show_header_image": true,
"show_title": true,
"title_color": "#d036ff",
"title_font": "Calluna",
"title_font_weight": "bold"
},
"title": "Homu Home",
"total_posts": 39164,
"updated": 1622984463,
"url": "https://hameru-is-cool.tumblr.com/",
"uuid": "hameru-is-cool.tumblr.com"
},
"blog_name": "hameru-is-cool",
"body": "<p><a class=\"tumblr_blog\" href=\"https://accidental-superhero.tumblr.com/post/639045195108909056\">accidental-superhero</a>:</p><blockquote><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/1b5947a2e597a4beca61d6532494c4d0/b60b89a9a62a0425-45/s640x960/53a6fe0f85586c1741455589ad1e6e7fd51b1cd3.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"/></figure><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/e95095806161eadd688ca158100d4032/b60b89a9a62a0425-90/s640x960/889a60dc2d95bef50e9752057571b728a2e74270.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"/></figure></blockquote>",
"can_like": false,
"can_reblog": false,
"can_reply": false,
"can_send_in_message": true,
"category": "tumblr",
"date": "2021-01-03 04:20:12",
"display_avatar": true,
"format": "html",
"id": 639261855227002880,
"id_string": "639261855227002880",
"note_count": 72,
"post_url": "https://hameru-is-cool.tumblr.com/post/639261855227002880",
"reblog": {
"comment": "",
"tree_html": "<p><a class=\"tumblr_blog\" href=\"https://accidental-superhero.tumblr.com/post/639045195108909056\">accidental-superhero</a>:</p><blockquote><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/1b5947a2e597a4beca61d6532494c4d0/b60b89a9a62a0425-45/s640x960/53a6fe0f85586c1741455589ad1e6e7fd51b1cd3.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"></figure><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/e95095806161eadd688ca158100d4032/b60b89a9a62a0425-90/s640x960/889a60dc2d95bef50e9752057571b728a2e74270.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"></figure></blockquote>"
},
"reblog_key": "3jf26aHn",
"reblogged": true,
"reblogged_from_can_message": true,
"reblogged_from_id": "639045195108909056",
"reblogged_from_name": "accidental-superhero",
"reblogged_from_title": "Project Gotham",
"reblogged_from_url": "https://accidental-superhero.tumblr.com/post/639045195108909056",
"reblogged_from_uuid": "t:vXwFhMsEb5P8q-jXuQCbqw",
"reblogged_root_can_message": true,
"reblogged_root_id": "639045195108909056",
"reblogged_root_name": "accidental-superhero",
"reblogged_root_title": "Project Gotham",
"reblogged_root_url": "https://accidental-superhero.tumblr.com/post/639045195108909056",
"reblogged_root_uuid": "t:vXwFhMsEb5P8q-jXuQCbqw",
"recommended_color": null,
"recommended_source": null,
"short_url": "https://tmblr.co/Za-c0iZV7KKtGq00",
"should_open_in_legacy": false,
"slug": "",
"source_title": "twitter.com",
"source_url": "https://href.li/?https://twitter.com/otenkigaaru/status/1344409735362191361?s=19",
"state": "published",
"subcategory": "post",
"summary": "",
"tags": [
"hanekawa tsubasa",
"monogatari"
],
"timestamp": 1609647612,
"title": "",
"type": "text"
}
],
[
3,
"https://64.media.tumblr.com/1b5947a2e597a4beca61d6532494c4d0/b60b89a9a62a0425-45/s640x960/53a6fe0f85586c1741455589ad1e6e7fd51b1cd3.jpg",
{
"blog": {
"ask": true,
"ask_anon": true,
"ask_page_title": "Ask Me Stuff",
"asks_allow_media": true,
"avatar": [
{
"height": 512,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s512x512u_c1/53f11ada803a8a38a648523a0b62f6bcea473b27.jpg",
"width": 512
},
{
"height": 128,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s128x128u_c1/3c4e0816a20b04024d39efd8f8feb1a3ecb677de.jpg",
"width": 128
},
{
"height": 96,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s96x96u_c1/0523cc3a09db4062b0f3571c1a87d4396a75ee87.jpg",
"width": 96
},
{
"height": 64,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s64x64u_c1/2ad107fbdfeab7ef76ee7406418e7b2bc95bc591.jpg",
"width": 64
}
],
"can_chat": true,
"can_subscribe": false,
"description": "80% PMMM 90% Studio Shaft 99.9% Cute Anime Girls\n/Current Side Obsessions: Hololive/DMC5",
"is_nsfw": false,
"is_optout_ads": true,
"name": "hameru-is-cool",
"posts": 39164,
"share_likes": false,
"submission_page_title": "Submit ",
"subscribed": false,
"theme": {
"avatar_shape": "square",
"background_color": "#000000",
"body_font": "Helvetica Neue",
"header_bounds": "0,498,280,0",
"header_focus_height": 280,
"header_focus_width": 498,
"header_full_height": 281,
"header_full_width": 500,
"header_image": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s500x281/4e9875d70cc178de598c9ae4328cef35e5cc6334.gif",
"header_image_focused": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072_c0,0,99600,99644/47556b69e06f56dbca2d95f918ce6e6fc60c4576.gif",
"header_image_poster": "https://44.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072_f1/602465ae0578ab3a3f65c6bffb875fa727b982c5.gif",
"header_image_scaled": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072/8fe800a5bd87aac5014cac78740d6bcf7868ebb1.gif",
"header_stretch": true,
"link_color": "#cc42f0",
"show_avatar": true,
"show_description": true,
"show_header_image": true,
"show_title": true,
"title_color": "#d036ff",
"title_font": "Calluna",
"title_font_weight": "bold"
},
"title": "Homu Home",
"total_posts": 39164,
"updated": 1622984463,
"url": "https://hameru-is-cool.tumblr.com/",
"uuid": "hameru-is-cool.tumblr.com"
},
"blog_name": "hameru-is-cool",
"body": "<p><a class=\"tumblr_blog\" href=\"https://accidental-superhero.tumblr.com/post/639045195108909056\">accidental-superhero</a>:</p><blockquote><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/1b5947a2e597a4beca61d6532494c4d0/b60b89a9a62a0425-45/s640x960/53a6fe0f85586c1741455589ad1e6e7fd51b1cd3.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"/></figure><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/e95095806161eadd688ca158100d4032/b60b89a9a62a0425-90/s640x960/889a60dc2d95bef50e9752057571b728a2e74270.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"/></figure></blockquote>",
"can_like": false,
"can_reblog": false,
"can_reply": false,
"can_send_in_message": true,
"category": "tumblr",
"date": "2021-01-03 04:20:12",
"display_avatar": true,
"extension": "jpg",
"filename": "53a6fe0f85586c1741455589ad1e6e7fd51b1cd3",
"format": "html",
"hash": "53a6fe0f85586c1741455589ad1e6e7fd51b1cd3",
"id": 639261855227002880,
"id_string": "639261855227002880",
"note_count": 72,
"num": 1,
"post_url": "https://hameru-is-cool.tumblr.com/post/639261855227002880",
"reblog": {
"comment": "",
"tree_html": "<p><a class=\"tumblr_blog\" href=\"https://accidental-superhero.tumblr.com/post/639045195108909056\">accidental-superhero</a>:</p><blockquote><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/1b5947a2e597a4beca61d6532494c4d0/b60b89a9a62a0425-45/s640x960/53a6fe0f85586c1741455589ad1e6e7fd51b1cd3.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"></figure><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/e95095806161eadd688ca158100d4032/b60b89a9a62a0425-90/s640x960/889a60dc2d95bef50e9752057571b728a2e74270.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"></figure></blockquote>"
},
"reblog_key": "3jf26aHn",
"reblogged": true,
"reblogged_from_can_message": true,
"reblogged_from_id": "639045195108909056",
"reblogged_from_name": "accidental-superhero",
"reblogged_from_title": "Project Gotham",
"reblogged_from_url": "https://accidental-superhero.tumblr.com/post/639045195108909056",
"reblogged_from_uuid": "t:vXwFhMsEb5P8q-jXuQCbqw",
"reblogged_root_can_message": true,
"reblogged_root_id": "639045195108909056",
"reblogged_root_name": "accidental-superhero",
"reblogged_root_title": "Project Gotham",
"reblogged_root_url": "https://accidental-superhero.tumblr.com/post/639045195108909056",
"reblogged_root_uuid": "t:vXwFhMsEb5P8q-jXuQCbqw",
"recommended_color": null,
"recommended_source": null,
"short_url": "https://tmblr.co/Za-c0iZV7KKtGq00",
"should_open_in_legacy": false,
"slug": "",
"source_title": "twitter.com",
"source_url": "https://href.li/?https://twitter.com/otenkigaaru/status/1344409735362191361?s=19",
"state": "published",
"subcategory": "post",
"summary": "",
"tags": [
"hanekawa tsubasa",
"monogatari"
],
"timestamp": 1609647612,
"title": "",
"type": "text"
}
],
[
3,
"https://64.media.tumblr.com/e95095806161eadd688ca158100d4032/b60b89a9a62a0425-90/s640x960/889a60dc2d95bef50e9752057571b728a2e74270.jpg",
{
"blog": {
"ask": true,
"ask_anon": true,
"ask_page_title": "Ask Me Stuff",
"asks_allow_media": true,
"avatar": [
{
"height": 512,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s512x512u_c1/53f11ada803a8a38a648523a0b62f6bcea473b27.jpg",
"width": 512
},
{
"height": 128,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s128x128u_c1/3c4e0816a20b04024d39efd8f8feb1a3ecb677de.jpg",
"width": 128
},
{
"height": 96,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s96x96u_c1/0523cc3a09db4062b0f3571c1a87d4396a75ee87.jpg",
"width": 96
},
{
"height": 64,
"url": "https://64.media.tumblr.com/f680a44ce9603a4059ace78e9bcc8131/e727d68efa7923a9-c4/s64x64u_c1/2ad107fbdfeab7ef76ee7406418e7b2bc95bc591.jpg",
"width": 64
}
],
"can_chat": true,
"can_subscribe": false,
"description": "80% PMMM 90% Studio Shaft 99.9% Cute Anime Girls\n/Current Side Obsessions: Hololive/DMC5",
"is_nsfw": false,
"is_optout_ads": true,
"name": "hameru-is-cool",
"posts": 39164,
"share_likes": false,
"submission_page_title": "Submit ",
"subscribed": false,
"theme": {
"avatar_shape": "square",
"background_color": "#000000",
"body_font": "Helvetica Neue",
"header_bounds": "0,498,280,0",
"header_focus_height": 280,
"header_focus_width": 498,
"header_full_height": 281,
"header_full_width": 500,
"header_image": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s500x281/4e9875d70cc178de598c9ae4328cef35e5cc6334.gif",
"header_image_focused": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072_c0,0,99600,99644/47556b69e06f56dbca2d95f918ce6e6fc60c4576.gif",
"header_image_poster": "https://44.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072_f1/602465ae0578ab3a3f65c6bffb875fa727b982c5.gif",
"header_image_scaled": "https://64.media.tumblr.com/bbc8322db55f66b4fe9831611cced6aa/e727d68efa7923a9-ac/s2048x3072/8fe800a5bd87aac5014cac78740d6bcf7868ebb1.gif",
"header_stretch": true,
"link_color": "#cc42f0",
"show_avatar": true,
"show_description": true,
"show_header_image": true,
"show_title": true,
"title_color": "#d036ff",
"title_font": "Calluna",
"title_font_weight": "bold"
},
"title": "Homu Home",
"total_posts": 39164,
"updated": 1622984463,
"url": "https://hameru-is-cool.tumblr.com/",
"uuid": "hameru-is-cool.tumblr.com"
},
"blog_name": "hameru-is-cool",
"body": "<p><a class=\"tumblr_blog\" href=\"https://accidental-superhero.tumblr.com/post/639045195108909056\">accidental-superhero</a>:</p><blockquote><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/1b5947a2e597a4beca61d6532494c4d0/b60b89a9a62a0425-45/s640x960/53a6fe0f85586c1741455589ad1e6e7fd51b1cd3.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"/></figure><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/e95095806161eadd688ca158100d4032/b60b89a9a62a0425-90/s640x960/889a60dc2d95bef50e9752057571b728a2e74270.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"/></figure></blockquote>",
"can_like": false,
"can_reblog": false,
"can_reply": false,
"can_send_in_message": true,
"category": "tumblr",
"date": "2021-01-03 04:20:12",
"display_avatar": true,
"extension": "jpg",
"filename": "889a60dc2d95bef50e9752057571b728a2e74270",
"format": "html",
"hash": "889a60dc2d95bef50e9752057571b728a2e74270",
"id": 639261855227002880,
"id_string": "639261855227002880",
"note_count": 72,
"num": 2,
"post_url": "https://hameru-is-cool.tumblr.com/post/639261855227002880",
"reblog": {
"comment": "",
"tree_html": "<p><a class=\"tumblr_blog\" href=\"https://accidental-superhero.tumblr.com/post/639045195108909056\">accidental-superhero</a>:</p><blockquote><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/1b5947a2e597a4beca61d6532494c4d0/b60b89a9a62a0425-45/s640x960/53a6fe0f85586c1741455589ad1e6e7fd51b1cd3.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"></figure><figure class=\"tmblr-full\" data-orig-height=\"2048\" data-orig-width=\"2048\"><img src=\"https://64.media.tumblr.com/e95095806161eadd688ca158100d4032/b60b89a9a62a0425-90/s640x960/889a60dc2d95bef50e9752057571b728a2e74270.jpg\" data-orig-height=\"2048\" data-orig-width=\"2048\"></figure></blockquote>"
},
"reblog_key": "3jf26aHn",
"reblogged": true,
"reblogged_from_can_message": true,
"reblogged_from_id": "639045195108909056",
"reblogged_from_name": "accidental-superhero",
"reblogged_from_title": "Project Gotham",
"reblogged_from_url": "https://accidental-superhero.tumblr.com/post/639045195108909056",
"reblogged_from_uuid": "t:vXwFhMsEb5P8q-jXuQCbqw",
"reblogged_root_can_message": true,
"reblogged_root_id": "639045195108909056",
"reblogged_root_name": "accidental-superhero",
"reblogged_root_title": "Project Gotham",
"reblogged_root_url": "https://accidental-superhero.tumblr.com/post/639045195108909056",
"reblogged_root_uuid": "t:vXwFhMsEb5P8q-jXuQCbqw",
"recommended_color": null,
"recommended_source": null,
"short_url": "https://tmblr.co/Za-c0iZV7KKtGq00",
"should_open_in_legacy": false,
"slug": "",
"source_title": "twitter.com",
"source_url": "https://href.li/?https://twitter.com/otenkigaaru/status/1344409735362191361?s=19",
"state": "published",
"subcategory": "post",
"summary": "",
"tags": [
"hanekawa tsubasa",
"monogatari"
],
"timestamp": 1609647612,
"title": "",
"type": "text"
}
]
] Edit: |
There has been a site change, I think.. |
See also TumblThreeApp/TumblThree#51 . |
@mikf Apparently the API doesn't do as good of a job at determining the best possible image quality as its hidden web service. TumblThree implemented it. It requires a login cookie to function correctly, though. It's written in C#, but it does at least point in the right direction: https://github.com/TumblThreeApp/TumblThree/blob/master/src/TumblThree/TumblThree.Applications/Crawler/TumblrHiddenCrawler.cs It looks like a pain in the ass, so it's understandable if you don't implement it. Not a lot of people still use Tumblr. |
I noticed the following behavior of Tumblr's regular view (accessible via the URL scheme "https://.tumblr.com/post/") and blog view (accessible via the URL scheme https://www.tumblr.com/blog/view//) yield sometimes pictures with a different resolution (the blog view sometimes shows pictures with a higher resolution than the regular view). |
Taking these two posts as examples:
https://hameru-is-cool.tumblr.com/post/639261855227002880
https://hameru-is-cool.tumblr.com/post/639185159893221377/jisatsu-draw-laughing-hanekawas
If I simply download the images with "Right click > Save image as", they are saved with a much higher resolution and quality than if I use gallery-dl to do so.
For the first link, downloading with the right-click method, the image is saved with 1280x1280px, but using gallery-dl, it is saved with just 640x640px.
And for the second link, firstly clicking the image to be redirected to a higher resolution version, the right-click method saves an image of 1600x1442, while gallery-dl saves the same image with 1280x1154.
Why it occurs and how could I solve this?
The text was updated successfully, but these errors were encountered: