-
-
Notifications
You must be signed in to change notification settings - Fork 989
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 [downloader.http][warning] '404 Not Found' #5565
Comments
I also noticed this error , which is extremely rare [tumblr][warning] Unable to fetch higher-resolution version of https://64.media.tumblr.com/9dfa1ca50184eaa057b8ebf44837f62e/ec050682828daa53-14/s99999x99999/e8456d7273a15107ee4943b37cdc603a29ab23e1.jpg (734239171816898560) |
Well, #2957 was closed for a reason, because the problem has been solved. Sometimes there may be errors with tumblr, but only occasionally, and they are very rare, depending on how their servers handle the requests made by gallery-dl with the URL modifications. There is nothing on gallery-dl's side that can be done about this, fundamentally. Or, to put it in another way, gallery-dl has already everything to mitigate this problem as best as possible. Here's what you should be doing:
{
"output":
{
"log": {
"level": "info",
"format-date": "%Y-%m-%dT%H:%M:%S",
"format": {
"debug" : "\u001b[0;37mDebug : {name} -> {message}\u001b[0m",
"info" : "\u001b[1;37mInfo : {name} -> {message}\u001b[0m",
"warning": "\u001b[1;33mWarning: {name} -> {message} {extractor.url:?[/]/}\u001b[0m",
"error" : "\u001b[1;31mError : {name} -> {message} {extractor.url:?[/]/}\u001b[0m"
}
},
"logfile": {
"path": "D:\\gallery-dl\\gallery-dl.log.txt",
"mode": "a",
"format": {
"debug" : "[{asctime}][{levelname}] {message}",
"info" : "[{asctime}][{levelname}] {message}",
"warning": "[{asctime}][{levelname}] {message} [Source URL: {extractor.url}]",
"error" : "[{asctime}][{levelname}] {message} [Source URL: {extractor.url}]"
},
"format-date": "%Y-%m-%dT%H:%M:%S",
"level": "info"
}
}
}
{
"extractor":
{
"tumblr":
{
"avatar": false,
"external": true,
"inline": true,
"original": true,
"ratelimit": "wait",
"reblogs": true,
"posts": "all",
"fallback-delay": 90.0,
"fallback-retries": 6,
"retries": 24,
"skip": "abort:12",
"sleep-request": [0.2, 0.6],
"sleep-extractor": [0.4, 2.0],
"blacklist": ["twitter", "instagram", "flickr"]
}
}
} Using The Should their servers still act up after all waiting and retrying, we now have the log that we can use.
You can reconstruct the post URL, by grabbing the Once you have a bunch of these, simply feed them again to gallery-dl |
Thanks a lot for the reply!
|
I definitely made a mistake somewhere. |
|
Here is a full config for tumblr, just change values as you need: {
"extractor":
{
"base-directory": "D:\\Home\\Downloads\\",
"archive": "D:\\Home\\Apps\\gallery-dl\\gallery-dl.archive.global.db",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"skip": true,
"keywords": {"category": ""},
"keywords-default": "",
"parent-directory": true,
"extension-map":
{
"jpeg": "jpg",
"jpe" : "jpg"
},
"tumblr":
{
"user":
{
"directory": {
"locals().get('category')": ["Tumblr", "Blogs", "{category}", "{blog_name!c}"],
"" : ["Tumblr", "Blogs", "Unsorted", "{blog_name!c}"]
},
"filename": {
"locals().get('slug')": "{date:%Y-%m-%d-%H%M%S}.{id}.{num:>02}.{slug:R.//}.{extension}",
"" : "{date:%Y-%m-%d-%H%M%S}.{id}.{num:>02}.{extension}"
}
},
"post":
{
"directory": {
"locals().get('category')": ["Tumblr", "Posts", "{category}"],
"" : ["Tumblr", "Posts", "Unsorted"]
},
"filename": {
"locals().get('slug')": "{date:%Y-%m-%d-%H%M%S}.{blog_name}.{id}.{num:>02}.{slug:R.//}.{extension}",
"" : "{date:%Y-%m-%d-%H%M%S}.{blog_name}.{id}.{num:>02}.{extension}"
}
},
"archive-prefix": "",
"archive": "D:\\Home\\Apps\\gallery-dl\\gallery-dl.archive.tumblr.db",
"avatar": false,
"external": true,
"inline": true,
"original": true,
"ratelimit": "wait",
"reblogs": true,
"posts": "all",
"fallback-delay": 90.0,
"fallback-retries": 6,
"retries": 24,
"skip": "abort:12",
"sleep-request": [0.2, 0.6],
"sleep-extractor": [0.4, 2.0],
"blacklist": ["twitter", "instagram", "flickr"],
"api-key": " ---- ",
"api-secret": " ---- ",
"access-token": " ---- ",
"access-token-secret": " ---- "
}
},
"output":
{
"mode": "color",
"ansi": true,
"shorten": "eaw",
"skip": true,
"progress": true,
"log": {
"level": "info",
"format-date": "%Y-%m-%dT%H:%M:%S",
"format": {
"debug" : "\u001b[0;37mDebug : {name} -> {message}\u001b[0m",
"info" : "\u001b[1;37mInfo : {name} -> {message}\u001b[0m",
"warning": "\u001b[1;33mWarning: {name} -> {message} {extractor.url:?[/]/}\u001b[0m",
"error" : "\u001b[1;31mError : {name} -> {message} {extractor.url:?[/]/}\u001b[0m"
}
},
"logfile": {
"path": "D:\\Home\\Apps\\gallery-dl\\gallery-dl.log.txt",
"mode": "a",
"format": {
"debug" : "[{asctime}][{levelname}] {message}",
"info" : "[{asctime}][{levelname}] {message}",
"warning": "[{asctime}][{levelname}] {message} [Source URL: {extractor.url}]",
"error" : "[{asctime}][{levelname}] {message} [Source URL: {extractor.url}]"
},
"format-date": "%Y-%m-%dT%H:%M:%S",
"level": "info"
}
}
} |
Thank you so much for your help |
Good afternoon, dear developer!
Please help me solve this problem
I apologize in advance for the grammar (automatic translation)
When downloading from tumblr, very often the download gets up for quite a long period of time , then the download continues until the next error.
The wrong address opens normally in the browser
If you restart the download, the error is repeated with another link
Extremely rare, but the download can go without errors
That's what it shows
[downloader.http][warning] '404 Not Found' for 'https://64.media.tumblr.com/561d741270e97b2f944093eda765f06b/720934f95e54bd55-5f/s99999x99999/7dc8a9a2aa7debaafa8faf365d06a050d34348ad.png'
[download][info] Trying fallback URL #1
The text was updated successfully, but these errors were encountered: