socialmag v0.1 — 4/5 platforms live (Threads, FB, IG, TikTok)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
"""socialmag — post to social platforms through abang's logged-in Brave via CDP.
|
||||
|
||||
This is a package, not a pile of scripts, for one concrete reason: two of the
|
||||
module names the design calls for — `selectors.py` and `queue.py` — collide
|
||||
with stdlib modules that asyncio itself imports. Run flat and Python resolves
|
||||
`selectors` to ours, and asyncio dies at import. As a package with relative
|
||||
imports, the names are ours inside and the stdlib's outside.
|
||||
|
||||
Run it as: python3 -m socialmag (from the parent directory)
|
||||
Not as: python3 socialmag/server.py (re-triggers the shadowing)
|
||||
"""
|
||||
Reference in New Issue
Block a user