forked from zackmawaldi/YouTube-shorts-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
29 lines (23 loc) · 718 Bytes
/
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
subreddit = "funny" # exclude 'r/'
reddit_login = { # more info to set up rovided by reddit api documentation
'client_id': '',
'client_secret': '',
'password': '',
'user_agent': '',
'username': ''
}
youtube = {
'title': '',
'description': '',
'tags': '',
'category': 23, # has to be an int, more about category below
'status': '' # {public, private, unlisted}
}
video = {
'dimensions': (1080, 1920), # (horizontal, vertical), currently set vertically for tiktok
'blur': True # blur non-perfect-fit clip
}
"""
for category: has to be an int, refer to YouTube Data 4 API's documentation, but as of Jan 2022,
checkout https://techpostplus.com/youtube-video-categories-list-faqs-and-solutions/
"""