Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mikf
GitHub Repository: mikf/gallery-dl
Path: blob/master/test/results/blacktowhite.py
14119 views
1
# -*- coding: utf-8 -*-
2
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License version 2 as
5
# published by the Free Software Foundation.
6
7
from gallery_dl.extractor import xenforo
8
9
10
__tests__ = (
11
{
12
"#url" : "https://www.blacktowhite.net/threads/rules-for-posting-photos-gifs-and-videos.337383/post-6545937",
13
"#category": ("xenforo", "blacktowhite", "post"),
14
"#class" : xenforo.XenforoPostExtractor,
15
"#results" : "https://www.blacktowhite.net/proxy.php?image=https%3A%2F%2Fwww.dailycartoonist.com%2Fwp-content%2Fuploads%2F2020%2F01%2Fdemdonk-jacksonface.jpg&hash=ee3cee17bf3f9b2dcdd41dbe7c1ea35e",
16
17
"count" : 1,
18
"extension" : "jpg",
19
"filename" : "demdonk-jacksonface",
20
"post" : {
21
"author" : "Truthman",
22
"author_id" : "40508",
23
"author_slug": "truthman",
24
"date" : "dt:2025-08-29 20:45:50",
25
"id" : "6545937",
26
},
27
},
28
29
{
30
"#url" : "https://www.blacktowhite.net/threads/rules-for-posting-photos-gifs-and-videos.337383/",
31
"#category": ("xenforo", "blacktowhite", "thread"),
32
"#class" : xenforo.XenforoThreadExtractor,
33
"#results" : (
34
"https://twitter.com/x/status/1986133525955743868",
35
"https://www.blacktowhite.net/attachments/bbc-worship-very-attractive-woman-jpg.8426431/",
36
"https://www.blacktowhite.net/proxy.php?image=https%3A%2F%2Fwww.dailycartoonist.com%2Fwp-content%2Fuploads%2F2020%2F01%2Fdemdonk-jacksonface.jpg&hash=ee3cee17bf3f9b2dcdd41dbe7c1ea35e",
37
),
38
39
"thread" : {
40
"author" : "MacNfries",
41
"author_id" : "1129",
42
"author_slug": "macnfries",
43
"author_url" : "https://www.blacktowhite.net/members/macnfries.1129/",
44
"date" : "dt:2025-07-13 04:15:28",
45
"id" : "337383",
46
"section" : "Off-Topic Discussion",
47
"tags" : (),
48
"title" : "RULES For POSTING PHOTOS, GIFS, and VIDEOS",
49
"url" : "https://www.blacktowhite.net/threads/rules-for-posting-photos-gifs-and-videos.337383/",
50
},
51
},
52
53
{
54
"#url" : "https://www.blacktowhite.net/media/baby-goddess-energy.845601",
55
"#comment" : "video",
56
"#category": ("xenforo", "blacktowhite", "media-item"),
57
"#class" : xenforo.XenforoMediaItemExtractor,
58
"#auth" : False,
59
"#results" : "https://www.blacktowhite.net/media/baby-goddess-energy.845601/full",
60
},
61
62
{
63
"#url" : "https://www.blacktowhite.net/media/baby-goddess-energy.845601",
64
"#comment" : "video",
65
"#category": ("xenforo", "blacktowhite", "media-item"),
66
"#class" : xenforo.XenforoMediaItemExtractor,
67
"#auth" : False,
68
"#options" : {"metadata": True},
69
"#results" : "https://www.blacktowhite.net/data/xfmg/video/8173/8173378-a16bd8e0c10523da2f99e8a9af17c03a.mov",
70
},
71
72
{
73
"#url" : "https://www.blacktowhite.net/media/img_5727-jpeg.840519",
74
"#comment" : "image",
75
"#category": ("xenforo", "blacktowhite", "media-item"),
76
"#class" : xenforo.XenforoMediaItemExtractor,
77
"#results" : "https://www.blacktowhite.net/media/img_5727-jpeg.840519/full",
78
"#sha1_content": "d8cfca63c71bc7330fdfa7d17d6247392cbb4472",
79
},
80
81
{
82
"#url" : "https://www.blacktowhite.net/media/albums/my-slutty-hotwife-gf-on-holidays-without-hubby-more-of-7000kms-december-2k25.47700",
83
"#category": ("xenforo", "blacktowhite", "media-album"),
84
"#class" : xenforo.XenforoMediaAlbumExtractor,
85
"#auth" : False,
86
"#results" : (
87
"https://www.blacktowhite.net/media/on-the-cave.947141/full",
88
"https://www.blacktowhite.net/media/she-likes-to-blow-black-cocks.947140/full",
89
"https://www.blacktowhite.net/media/teasing-kings-around.947139/full",
90
"https://www.blacktowhite.net/media/waiting-a-caribbean-black-cock.947138/full",
91
),
92
"#log": "username & password or authenticated cookies needed",
93
94
"album" : {
95
"author" : "westindiandick",
96
"author_id" : "128528",
97
"author_slug": "westindiandick",
98
"author_url" : "https://www.blacktowhite.net/members/westindiandick.128528/",
99
"count" : 5,
100
"date" : "dt:2026-03-06 05:17:08",
101
"description": "",
102
"id" : "47700",
103
"slug" : "my-slutty-hotwife-gf-on-holidays-without-hubby-more-of-7000kms-december-2k25",
104
"title" : "My Slutty Hotwife Gf on holidays without hubby...More of 7000Kms... December 2K25",
105
"url" : "https://www.blacktowhite.net/media/albums/my-slutty-hotwife-gf-on-holidays-without-hubby-more-of-7000kms-december-2k25.47700/",
106
},
107
},
108
109
{
110
"#url" : "https://www.blacktowhite.net/media/users/elodies_secret.1115361/",
111
"#category": ("xenforo", "blacktowhite", "media-user"),
112
"#class" : xenforo.XenforoMediaUserExtractor,
113
"#archive" : False,
114
"#count" : 14,
115
116
"author_id" : "1115361",
117
"author_slug": "elodies_secret",
118
},
119
120
)
121
122