2023-09-10 14:45:01 +02:00
|
|
|
# -*- 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.
|
|
|
|
|
|
|
|
gallery_dl = __import__("gallery_dl.extractor.2chan")
|
|
|
|
_2chan = getattr(gallery_dl.extractor, "2chan")
|
|
|
|
|
|
|
|
|
|
|
|
__tests__ = (
|
|
|
|
{
|
2023-11-27 18:30:53 +01:00
|
|
|
"#url" : "https://dec.2chan.net/70/res/17222.htm",
|
2023-09-10 14:45:01 +02:00
|
|
|
"#category": ("", "2chan", "thread"),
|
|
|
|
"#class" : _2chan._2chanThreadExtractor,
|
|
|
|
"#pattern" : r"https://dec\.2chan\.net/70/src/\d{13}\.jpg",
|
2023-11-27 18:30:53 +01:00
|
|
|
"#count" : ">= 2",
|
2023-09-10 14:45:01 +02:00
|
|
|
|
|
|
|
"board" : "70",
|
|
|
|
"board_name": "新板提案",
|
|
|
|
"com" : str,
|
|
|
|
"fsize" : r"re:\d+",
|
|
|
|
"name" : "名無し",
|
2023-11-27 18:30:53 +01:00
|
|
|
"no" : r"re:17\d\d\d",
|
|
|
|
"now" : r"re:23/../..\(.\)..:..:..",
|
2023-09-10 14:45:01 +02:00
|
|
|
"post" : "無題",
|
|
|
|
"server" : "dec",
|
2023-11-27 18:30:53 +01:00
|
|
|
"thread" : "17222",
|
2023-09-10 14:45:01 +02:00
|
|
|
"tim" : r"re:^\d{13}$",
|
|
|
|
"time" : r"re:^\d{10}$",
|
2023-11-27 18:30:53 +01:00
|
|
|
"title" : "画像会話板",
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
)
|