[fappic] fix extraction

This commit is contained in:
Mike Fährmann
2022-10-01 12:19:33 +02:00
parent 78694a61bb
commit 7b5dad075d

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2016-2021 Mike Fährmann
# Copyright 2016-2022 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -292,7 +292,7 @@ class FappicImageExtractor(ImagehostImageExtractor):
})
def get_info(self, page):
url , pos = text.extract(page, '<a href="/?click"><img src="', '"')
url , pos = text.extract(page, '<a href="#"><img src="', '"')
filename, pos = text.extract(page, 'alt="', '"', pos)
if filename.startswith("Porn-Picture-"):