From 56f2d5a5f265930de8007565668e99463f66c12d Mon Sep 17 00:00:00 2001 From: wankio <31354933+wankio@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:04:21 +0700 Subject: [PATCH] fapello.py Fullsize image by remove ".md" and ".th" in image url, it will download fullsize of images --- gallery_dl/extractor/fapello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/fapello.py b/gallery_dl/extractor/fapello.py index 403dc929..838ae7b6 100644 --- a/gallery_dl/extractor/fapello.py +++ b/gallery_dl/extractor/fapello.py @@ -42,7 +42,8 @@ class FapelloPostExtractor(Extractor): "type" : "video" if 'type="video' in page else "photo", "thumbnail": text.extr(page, 'poster="', '"'), } - url = text.extr(page, 'src="', '"').replace(".md", "") + url = text.extr(page, 'src="', '"').replace( + ".md", "").replace(".th", "") yield Message.Directory, data yield Message.Url, url, text.nameext_from_url(url, data)