1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00
gallery-dl/test/results/tcbscans.py
2023-09-10 14:45:01 +02:00

70 lines
2.0 KiB
Python

# -*- 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 tcbscans
__tests__ = (
{
"#url" : "https://tcbscans.com/chapters/4708/chainsaw-man-chapter-108",
"#category": ("", "tcbscans", "chapter"),
"#class" : tcbscans.TcbscansChapterExtractor,
"#pattern" : r"https://cdn\.[^/]+/(file|attachments/[^/]+)/[^/]+/[^.]+\.\w+",
"#count" : 17,
"manga" : "Chainsaw Man",
"chapter" : 108,
"chapter_minor": "",
"lang" : "en",
"language" : "English",
},
{
"#url" : "https://onepiecechapters.com/chapters/4716/one-piece-chapter-1065",
"#category": ("", "tcbscans", "chapter"),
"#class" : tcbscans.TcbscansChapterExtractor,
"#pattern" : r"https://cdn\.[^/]+/(file|attachments/[^/]+)/[^/]+/[^.]+\.\w+",
"#count" : 18,
"manga" : "One Piece",
"chapter" : 1065,
"chapter_minor": "",
"lang" : "en",
"language" : "English",
},
{
"#url" : "https://onepiecechapters.com/chapters/44/ace-novel-manga-adaptation-chapter-1",
"#category": ("", "tcbscans", "chapter"),
"#class" : tcbscans.TcbscansChapterExtractor,
},
{
"#url" : "https://tcbscans.com/mangas/13/chainsaw-man",
"#category": ("", "tcbscans", "manga"),
"#class" : tcbscans.TcbscansMangaExtractor,
"#pattern" : tcbscans.TcbscansChapterExtractor.pattern,
"#range" : "1-50",
"#count" : 50,
},
{
"#url" : "https://onepiecechapters.com/mangas/4/jujutsu-kaisen",
"#category": ("", "tcbscans", "manga"),
"#class" : tcbscans.TcbscansMangaExtractor,
"#pattern" : tcbscans.TcbscansChapterExtractor.pattern,
"#range" : "1-50",
"#count" : 50,
},
{
"#url" : "https://onepiecechapters.com/mangas/15/hunter-x-hunter",
"#category": ("", "tcbscans", "manga"),
"#class" : tcbscans.TcbscansMangaExtractor,
},
)