[boosty] added new direct message extractor

- formatting
- fixed linting formatting errors
- fixed E999 SyntaxError: invalid syntax
- fixed class naming
- fixed mandatory extractor.boosty.metadata as true requirement
- update
  - apply changes
  - add test
  - update docs/supportedsites
- improve 'dialog' pagination logic
This commit is contained in:
Dominik Prange
2025-01-04 19:49:48 +01:00
committed by Mike Fährmann
parent 18ed39c1cf
commit ff5f6fe70f
4 changed files with 106 additions and 8 deletions

View File

@@ -131,5 +131,24 @@ __tests__ = (
"#auth" : True,
},
{
"#url" : "https://boosty.to/app/messages?dialogId=3598621",
"#class" : boosty.BoostyDirectMessagesExtractor,
"#auth" : True,
"#count" : 7,
"count" : 1,
"extension": "",
"file" : dict,
"user" : dict,
"post": {
"authorId": int,
"content" : list,
"date" : "type:datetime",
"dialogId": 3598621,
"id" : int,
},
},
)