-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py
29 lines (27 loc) · 1.6 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from collections import namedtuple
mt = True # Allows the generation of a contact sheet of thumbnails of the VOD if set to True
upload = True # Allows the usage of rclone to push the VODs to a remote if set to True
ffmpeg_convert = True # If True, uses ffmpeg to convert. If False, renames the .ts file to .mp4 (quicker).
# Define a named tuple for Webhooks
Webhooks = namedtuple('Webhooks', ['enabled', 'live_webhook', 'info_webhook', 'webhook_mention'])
webhooks = Webhooks(
enabled=True, # Set to False if you don't want to use webhooks to be notified
live_webhook='https://discord.com/api/webhooks/1234567890/abcde', # Replace with the live webhook URL
info_webhook='https://discord.com/api/webhooks/1234567890/abcde', # Replace with the info webhook URL
webhook_mention='<@!123456789>' # Replace with the user or role ID you want to mention (@! for user id,@& for role )
)
headers = {
'authority': 'apiv3.fansly.com',
'accept': 'application/json, text/plain, */*',
'accept-language': 'en;q=0.8,en-US;q=0.7',
'authorization': 'your_auth_token_here', # Replace with your actual auth token
'origin': 'https://fansly.com',
'referer': 'https://fansly.com/',
'sec-ch-ua': '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-site',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
}