fapello.py Fullsize image

by remove ".md" and ".th" in image url, it will download fullsize of images
pull/5349/head
wankio 6 months ago committed by Mike Fährmann
parent eb673a7204
commit 56f2d5a5f2
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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)

Loading…
Cancel
Save