From b67e3c15ff270f4fcaf0b56c322de7b960b64675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 27 Jan 2026 10:31:26 +0100 Subject: [PATCH] [xenforo] support 'titsintops.com' (#8945) --- docs/supportedsites.md | 6 ++ gallery_dl/extractor/xenforo.py | 4 ++ scripts/supportedsites.py | 1 + test/results/titsintops.py | 100 ++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 test/results/titsintops.py diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 2a77c006..679363a7 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -1951,6 +1951,12 @@ Consider all listed sites to potentially be NSFW. Forums, Albums, Media Categories, Media Files, User Media, Posts, Threads + + Tits In Tops Forum + https://titsintops.com/phpBB2/ + Forums, Albums, Media Categories, Media Files, User Media, Posts, Threads + + Moebooru and MyImouto diff --git a/gallery_dl/extractor/xenforo.py b/gallery_dl/extractor/xenforo.py index 443b1811..cc71b17a 100644 --- a/gallery_dl/extractor/xenforo.py +++ b/gallery_dl/extractor/xenforo.py @@ -398,6 +398,10 @@ BASE_PATTERN = XenforoExtractor.update({ "root": "https://celebforum.to", "pattern": r"(?:www\.)?celebforum\.to", }, + "titsintops": { + "root": "https://titsintops.com/phpBB2", + "pattern": r"(?:www\.)?titsintops\.com/phpBB2", + }, }) diff --git a/scripts/supportedsites.py b/scripts/supportedsites.py index 9a167a45..f674c8e5 100755 --- a/scripts/supportedsites.py +++ b/scripts/supportedsites.py @@ -200,6 +200,7 @@ CATEGORY_MAP = { "thefap" : "TheFap", "thehentaiworld" : "The Hentai World", "tiktok" : "TikTok", + "titsintops" : "Tits In Tops Forum", "tmohentai" : "TMOHentai", "tumblrgallery" : "TumblrGallery", "turboimagehost" : "TurboImageHost.com", diff --git a/test/results/titsintops.py b/test/results/titsintops.py new file mode 100644 index 00000000..7196c7bc --- /dev/null +++ b/test/results/titsintops.py @@ -0,0 +1,100 @@ +# -*- 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 xenforo + + +__tests__ = ( +{ + "#url" : "https://titsintops.com/phpBB2/threads/mia-big-titty-boston-blonde.13575039/post-3265146", + "#category": ("xenforo", "titsintops", "post"), + "#class" : xenforo.XenforoPostExtractor, + "#results" : ( + "https://titsintops.com/phpBB2/attachments/img_3763-webp.6091490/", + "https://titsintops.com/phpBB2/attachments/img_3765-webp.6091491/", + "https://titsintops.com/phpBB2/attachments/img_3755-webp.6091492/", + "https://titsintops.com/phpBB2/attachments/img_3754-webp.6091493/", + "https://titsintops.com/phpBB2/attachments/img_3753-webp.6091494/", + "https://titsintops.com/phpBB2/attachments/img_3759-webp.6091495/", + "https://titsintops.com/phpBB2/attachments/img_3751-webp.6091496/", + ), + + "count" : 7, + "num" : range(1, 7), + "num_internal": range(1, 7), + "num_external": 0, + "extension" : "webp", + "filename" : str, + "id" : range(6091490, 6091496), + "type" : "inline", + "post" : { + "author" : "Nsfwev", + "author_id" : "1178301", + "author_slug": "nsfwev", + "author_url" : "https://titsintops.com/phpBB2/members/nsfwev.1178301/", + "count" : 7, + "date" : "dt:2025-08-27 05:39:53", + "id" : "3265146", + "attachments": str, + "content" : """re:soo hot one of my favorites""", + }, + "thread" : { + "author" : "lazywriterx", + "author_id" : "323115", + "author_slug": "lazywriterx", + "author_url" : "https://titsintops.com/phpBB2/members/lazywriterx.323115/", + "date" : "dt:2025-05-02 13:33:58", + "id" : "13575039", + "posts" : range(3, 10), + "section" : "Tits in Tops & Social Media", + "title" : "Mia - Big titty Boston blonde", + "url" : "https://titsintops.com/phpBB2/threads/mia-big-titty-boston-blonde.13575039/", + "views" : range(2_000, 10_000), + "tags" : [ + "big tit blonde", + "blonde", + ], + }, +}, + +{ + "#url" : "https://titsintops.com/phpBB2/threads/mia-big-titty-boston-blonde.13575039/", + "#category": ("xenforo", "titsintops", "thread"), + "#class" : xenforo.XenforoThreadExtractor, + "#pattern" : r"https://titsintops\.com/phpBB2/attachments/.+", + "#count" : range(13, 100), + + "extension" : "webp", + "id" : int, + "type" : "inline", + "post" : dict, + "thread" : { + "author" : "lazywriterx", + "author_id" : "323115", + "author_slug": "lazywriterx", + "author_url" : "https://titsintops.com/phpBB2/members/lazywriterx.323115/", + "date" : "dt:2025-05-02 13:33:58", + "id" : "13575039", + "section" : "Tits in Tops & Social Media", + "title" : "Mia - Big titty Boston blonde", + "url" : "https://titsintops.com/phpBB2/threads/mia-big-titty-boston-blonde.13575039/", + "tags" : [ + "big tit blonde", + "blonde", + ], + }, +}, + +{ + "#url" : "https://titsintops.com/phpBB2/forums/tits-in-tops-social-media.1/", + "#category": ("xenforo", "titsintops", "forum"), + "#class" : xenforo.XenforoForumExtractor, + "#pattern" : xenforo.XenforoThreadExtractor.pattern, + "#range" : "1-50", + "#count" : 50, +}, + +)