[schalenetwork] fix extraction (#6948 #7391 #7728)

- remove 'cbz' option
- require 'crt' query parameter token as well as a matching User-Agent
This commit is contained in:
Mike Fährmann
2025-09-16 22:10:53 +02:00
parent a0b3e08f64
commit 1b9e1ff9ff
4 changed files with 125 additions and 87 deletions

View File

@@ -126,6 +126,30 @@ __tests__ = (
"#count" : ">= 50",
},
{
"#url" : "https://niyaniya.moe/browse?s=beach",
"#class" : schalenetwork.SchalenetworkSearchExtractor,
},
{
"#url" : "https://niyaniya.moe/tag/tag:beach",
"#class" : schalenetwork.SchalenetworkSearchExtractor,
},
{
"#url" : "https://niyaniya.moe/tag/circle:tentou+mushi+no+sanba",
"#class" : schalenetwork.SchalenetworkSearchExtractor,
"#results" : (
"https://niyaniya.moe/g/26044/9b7ecf9bcf00",
"https://niyaniya.moe/g/24342/c723a7fe9191",
"https://niyaniya.moe/g/23787/7a51f4258481",
"https://niyaniya.moe/g/23784/d81779e07505",
"https://niyaniya.moe/g/23764/cb867963cfcb",
"https://niyaniya.moe/g/23760/a667d4a7f447",
"https://niyaniya.moe/g/23669/9ec3ff4c6737",
),
},
{
"#url" : "https://niyaniya.moe/favorites",
"#class" : schalenetwork.SchalenetworkFavoriteExtractor,