You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gallery-dl/gallery_dl/extractor/loveisover.py

23 lines
762 B

# -*- coding: utf-8 -*-
# Copyright 2017 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
# published by the Free Software Foundation.
"""Extract images from https://archive.loveisover.me/"""
from . import chan
class LoveisoverThreadExtractor(chan.FoolfuukaThreadExtractor):
"""Extractor for images from threads on archive.loveisover.me"""
category = "loveisover"
root = "https://archive.loveisover.me"
pattern = [r"(?:https?://)?(?:archive\.)?loveisover\.me"
r"/([^/]+)/thread/(\d+)"]
test = [("https://archive.loveisover.me/c/thread/2898043/", {
"url": "1340ba9d04d4e591d62e5ae5df3fd732f06a99fd",
})]