# -*- coding: utf-8 -*- # 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. from gallery_dl.extractor import lynxchan __tests__ = ( { "#url" : "https://endchan.org/yuri/res/193483.html", "#category": ("lynxchan", "endchan", "thread"), "#class" : lynxchan.LynxchanThreadExtractor, "#pattern" : r"https://endchan\.org/\.media/[^.]+(\.\w+)?$", "#count" : ">= 19", }, { "#url" : "https://endchan.org/yuri/res/33621.html", "#category": ("lynxchan", "endchan", "thread"), "#class" : lynxchan.LynxchanThreadExtractor, }, { "#url" : "https://endchan.org/yuri/", "#category": ("lynxchan", "endchan", "board"), "#class" : lynxchan.LynxchanBoardExtractor, "#pattern" : lynxchan.LynxchanThreadExtractor.pattern, "#count" : ">= 9", }, { "#url" : "https://endchan.org/yuri/catalog.html", "#category": ("lynxchan", "endchan", "board"), "#class" : lynxchan.LynxchanBoardExtractor, }, )