Compare commits
90 Commits
v0.1
...
4dd754055e
Author | SHA1 | Date | |
---|---|---|---|
4dd754055e | |||
ae654d686e | |||
af2bcd088f | |||
|
cc6523f604 | ||
|
5ad52aa3f8 | ||
|
45789ad013 | ||
|
4422a13ba9 | ||
f82c7b309f | |||
399fc5050d | |||
56adb16a3e | |||
1684c5177c | |||
fba52bcfc4 | |||
20666fc0f8 | |||
03b6bbe039 | |||
1749d49a52 | |||
a4323981fb | |||
06b6b49f43 | |||
1f345e87f7 | |||
717586a9f0 | |||
95351f247c | |||
b5e3abd4ad | |||
4ec69c2a05 | |||
|
62e0a4986c | ||
|
be8f0262d0 | ||
|
ba5a0f116c | ||
|
e85adeafd0 | ||
87d2a2c6d3 | |||
bc6080e832 | |||
9bf4663b9e | |||
b74ce9ec89 | |||
6ed3673682 | |||
c593be156d | |||
c96f98560c | |||
e1c1b58ffb | |||
bd2a1f0b12 | |||
8cc7808afb | |||
6684c4d750 | |||
c670db72fa | |||
48acab2d5e | |||
62f076148c | |||
59b504e6d9 | |||
ad281ba981 | |||
0073120bf2 | |||
244173e556 | |||
98e9c5f5a2 | |||
a8545dd097 | |||
3f22340852 | |||
c2fb88ed65 | |||
88692ebc85 | |||
4331af415e | |||
a913ba19c6 | |||
2387823151 | |||
88f8bb4a52 | |||
cf6c1f03d7 | |||
0a309a9f59 | |||
7810f3b7b9 | |||
7b2534012d | |||
6e8b47cf4b | |||
c27b1c5a5b | |||
c7228a006b | |||
64ae3fb047 | |||
|
056fc52353 | ||
|
8bafd0cb35 | ||
|
fd47217bad | ||
|
6b7b5c22f2 | ||
|
b3698cfa70 | ||
|
7607003f55 | ||
|
7918049f49 | ||
|
fcd59b7aca | ||
|
8c478072c6 | ||
|
b766d0c52c | ||
|
807e629ae7 | ||
|
87af9fd333 | ||
|
a54081a2ae | ||
|
664284a6f8 | ||
|
bd9917fb17 | ||
|
68ea087963 | ||
|
d1813856d9 | ||
|
cf204577e4 | ||
|
68c887999e | ||
|
642e17ee55 | ||
|
25af9b31f8 | ||
|
28fc359593 | ||
|
07203a9db9 | ||
|
663a7b0db8 | ||
|
0d2e9fa6ec | ||
|
c90e5eb697 | ||
|
f4359aa6cd | ||
4cd37be5dc | |||
05042f01c6 |
20
.renovaterc
20
.renovaterc
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:base"
|
||||
],
|
||||
"baseBranches": [
|
||||
"dev"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch",
|
||||
"pin",
|
||||
"digest"
|
||||
],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
11
poster.py
11
poster.py
@@ -209,14 +209,15 @@ async def main():
|
||||
scheduler.start()
|
||||
|
||||
try:
|
||||
token = await authorize()
|
||||
|
||||
token = await authorize()
|
||||
|
||||
if (
|
||||
len(
|
||||
(
|
||||
await (
|
||||
await http_session.get(
|
||||
f'{configGet("address", "posting", "api")}/albums?q={configGet("album", "posting", "api")}',
|
||||
f'{configGet("address", "posting", "api")}/albums?q={configGet("queue", "posting", "api", "albums")}',
|
||||
headers={"Authorization": f"Bearer {token}"},
|
||||
)
|
||||
).json()
|
||||
@@ -227,10 +228,12 @@ async def main():
|
||||
logWrite("Media album does not exist on API server. Trying to create it...")
|
||||
try:
|
||||
await http_session.post(
|
||||
f'{configGet("address", "posting", "api")}/albums?name={configGet("album", "posting", "api")}&title={configGet("album", "posting", "api")}',
|
||||
f'{configGet("address", "posting", "api")}/albums?name={configGet("queue", "posting", "api", "albums")}&title={configGet("queue", "posting", "api", "albums")}',
|
||||
headers={"Authorization": f"Bearer {token}"},
|
||||
)
|
||||
logWrite("Created media album on API server.")
|
||||
logWrite(
|
||||
"Created media album on API server."}"
|
||||
)
|
||||
except Exception as exp:
|
||||
logWrite(
|
||||
f"Could not create media album on API server due to {exp}: {format_exc()}"
|
||||
|
@@ -1,12 +1,12 @@
|
||||
python_dateutil==2.8.2
|
||||
apscheduler==3.10.1
|
||||
pytimeparse==1.1.8
|
||||
apscheduler~=3.10.1
|
||||
pytimeparse~=1.1.8
|
||||
convopyro==0.5
|
||||
pyrogram==2.0.104
|
||||
pyrogram~=2.0.102
|
||||
aiofiles~=23.1.0
|
||||
tgcrypto==1.2.5
|
||||
aiohttp~=3.8.4
|
||||
psutil==5.9.5
|
||||
pymongo==4.3.3
|
||||
pillow~=9.5.0
|
||||
ujson==5.7.0
|
||||
psutil~=5.9.4
|
||||
pymongo~=4.3.3
|
||||
pillow~=9.4.0
|
||||
ujson~=5.7.0
|
Reference in New Issue
Block a user