/ Published in: Python
This code allows automatically posting comments to LiveJournal to be the first commenter.
Usage: $ python auto-post-comment.py
Comments
Subscribe to comments
You need to login to post a comment.
andrewkolesnikov on 03/02/10
python bot comments livejournal
1 person have marked this snippet as a favorite
This code allows automatically posting comments to LiveJournal to be the first commenter.
Usage: $ python auto-post-comment.py
Subscribe to comments
You need to login to post a comment.
Here is a modified version of this class.
It first logs in and then tries to post the comment (using the default “cookieuser” usertype). This way LJ does not require the client to provide a captcha response in some cases it would otherwise.
Also, it selects the comment form by it’s ID, which makes it works even for blogs with customized design, where other forms can be placed before the comment form.