# -*- coding: utf-8 -*- # Copyright 2021-2023 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. """Extractors for https://rule34.us/""" from .booru import BooruExtractor from .. import text import collections import re class Rule34usExtractor(BooruExtractor): category = "rule34us" root = "https://rule34.us" per_page = 42 def _init(self): self._find_tags = re.compile( r'