Forum Archive

Go Back   3D Realms Forums > General Topics > Software Forum
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 06-08-2013, 02:42 PM   #1
ixfd64

ixfd64's Avatar
looking for an auto-posting script for vBulletin
I'm looking for a script (preferably in Python) that can automatically make posts on vBulletin forums. For example, I might want to scrape news from the web and post it on a forum every, say, one hour.

Most of the software I found are vBulletin hacks that require server access. I need something that I can run on my computer. The closest thing I could find is the Mechanize library. Are there any better choices?

I might be able to write such a script myself, but I'd rather not reinvent the wheel when possible.

Thanks in advance.
__________________
*fires Devastator at next poster*

Visit my forums!
ixfd64 is offline  
Old 06-19-2013, 04:26 PM   #2
Dopefish7590

Dopefish7590's Avatar
Re: looking for an auto-posting script for vBulletin
Are you familiar with HTTP requests..? I took a quick look, and provided you managed to get ahold of an authenticated session, all it appears it would really require would be to write something that POSTs to /vb/newreply.php... A simple feat in most languages.

For example, the request for this post initially looked like this:
Code:
Name	Value
securitytoken	<snipped>
ajax	1
ajax_lastpost	1370724159
message	Are you familiar with HTTP requests... Provided you managed to get ahold of an authenticated session, all it would really require would be to write something that POSTs to ajax.php...
wysiwyg	0
styleid	0
fromquickreply	1
s	
securitytoken	<snipped>
do	postreply
t	38888
p	who cares
specifiedpost	0
parseurl	1
loggedinuser	6599
The securitytoken I believe is the PHP session ID, whereas the remainder of the parameters are pretty self-explanitory.
Last edited by Dopefish7590; 06-19-2013 at 04:32 PM.
Dopefish7590 is offline  
Old 06-21-2013, 10:31 PM   #3
ixfd64

ixfd64's Avatar
Re: looking for an auto-posting script for vBulletin
I'll take a look at it. Thanks!
__________________
*fires Devastator at next poster*

Visit my forums!
ixfd64 is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:38 AM.

Page generated in 0.09343290 seconds (100.00% PHP - 0% MySQL) with 18 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.