[fansly] add initial support (#4401)

- only posts and creator posts work
- 'home' and 'list' extractors do nothing atm
- needs 'authorization' header as 'token' config value
  to access locked content
- needs yt-dlp to download 1080p videos
This commit is contained in:
Mike Fährmann
2025-09-02 22:03:37 +02:00
parent 1c9f4ff867
commit e2ca64a636
6 changed files with 264 additions and 0 deletions

28
test/results/fansly.py Normal file
View File

@@ -0,0 +1,28 @@
# -*- 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 fansly
__tests__ = (
{
"#url" : "https://fansly.com/post/819035448046268416",
"#comment" : "video",
"#class" : fansly.FanslyPostExtractor,
},
{
"#url" : "https://fansly.com/post/815337432600821760",
"#comment" : "images",
"#class" : fansly.FanslyPostExtractor,
},
{
"#url" : "https://fansly.com/Oliviaus/posts",
"#class" : fansly.FanslyCreatorPostsExtractor,
},
)