[deviantart] implement '"group": "skip"' (#4630)

This commit is contained in:
Mike Fährmann
2023-10-12 22:07:11 +02:00
parent a9c3442d4e
commit 2d41702762
3 changed files with 34 additions and 10 deletions

View File

@@ -123,6 +123,16 @@ __tests__ = (
"#count" : ">= 15",
},
{
"#url" : "https://www.deviantart.com/yakuzafc/gallery",
"#comment" : "'group': 'skip' (#4630)",
"#category" : ("", "deviantart", "gallery"),
"#class" : deviantart.DeviantartGalleryExtractor,
"#options" : {"group": "skip"},
"#exception": exception.StopExtraction,
"#count" : 0,
},
{
"#url" : "https://www.deviantart.com/justatest235723/gallery",
"#comment" : "'folders' option (#276)",
@@ -725,7 +735,7 @@ __tests__ = (
{
"#url" : "https://www.deviantart.com/chain-man/gallery/scraps",
"#comment" : "deactivated account"
"#comment" : "deactivated account",
"#category": ("", "deviantart", "scraps"),
"#class" : deviantart.DeviantartScrapsExtractor,
},