[erome] handle reposts on user profiles (#6582)

https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3221322147

- add 'reposts' option
- disable reposts by default
- process URL query parameters, e.g. 't=posts' or 'page=3'
This commit is contained in:
Mike Fährmann
2025-08-26 11:26:52 +02:00
parent 5a5857bafb
commit a953d3d316
4 changed files with 54 additions and 8 deletions

View File

@@ -43,8 +43,29 @@ __tests__ = (
"#category": ("", "erome", "user"),
"#class" : erome.EromeUserExtractor,
"#pattern" : erome.EromeAlbumExtractor.pattern,
"#range" : "1-25",
"#count" : 25,
"#count" : 88,
},
{
"#url" : "https://www.erome.com/yYgWBZw8o8qsMzM?t=reposts",
"#class" : erome.EromeUserExtractor,
"#count" : 0,
},
{
"#url" : "https://www.erome.com/john3884",
"#class" : erome.EromeUserExtractor,
"#count" : 0,
},
{
"#url" : "https://www.erome.com/john3884",
"#class" : erome.EromeUserExtractor,
"#options" : {"reposts": True},
"#results" : (
"https://www.erome.com/a/NQgdlWvk",
"https://www.erome.com/a/TdbZ4ogi",
),
},
{