fix: post.py broken by Reddit markdown editor default (Playwright selector mismatch) #13

Closed
opened 2026-04-27 14:44:51 -07:00 by pyr0ball · 1 comment
Owner

Reddit now defaults to Markdown editor (<textarea>) on submit page. post.py looks for div[contenteditable="true"] (rich text editor) which is no longer visible by default. RedditClient.post() has been replaced with httpx /api/submit as a workaround. post.py should be updated or removed.

Discovered 2026-04-27 during smoke testing.

Reddit now defaults to Markdown editor (`<textarea>`) on submit page. post.py looks for `div[contenteditable="true"]` (rich text editor) which is no longer visible by default. RedditClient.post() has been replaced with httpx /api/submit as a workaround. post.py should be updated or removed. Discovered 2026-04-27 during smoke testing.
pyr0ball added the
bug
label 2026-04-27 14:44:51 -07:00
Author
Owner

Shipped. Replaced the broken Playwright markdown-editor selector with direct httpx POST to Reddit's /api/submit endpoint. Playwright no longer used for posting — only for login/session refresh.

Shipped. Replaced the broken Playwright markdown-editor selector with direct httpx POST to Reddit's `/api/submit` endpoint. Playwright no longer used for posting — only for login/session refresh.
Sign in to join this conversation.
No labels
bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/magpie#13
No description provided.