Posted By

andrewkolesnikov on 03/02/10


Tagged

python bot comments livejournal


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

andrewkolesnikov


LiveJournal auto post comments


 / Published in: Python
 

This code allows automatically posting comments to LiveJournal to be the first commenter.

Usage: $ python auto-post-comment.py

Report this snippet   <

Comments

RSS Icon Subscribe to comments
Posted By: aruseni on May 3, 2013

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.

You need to login to post a comment.