The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am in process of upgrading from vb 3.8 to 4.1. I use a combination of python and bash scripting to automate certain processes.
I am currently exploring the possibility to delete a batch of some 20 products from a 3.8 site. Here is the query string to delete a product: Code:
http://www.noblood.org/admincp/plugin.php?do=productdelete&productid=smdtls Code:
import urllib, urllib2 params = urllib.urlencode(dict(username='xxxx', password='xxx')) f = urllib2.urlopen('http://www.noblood.org/signin/', params) data = f.read() f.close() params = urllib.urlencode(dict(do='productkill', productid='mdtls', adminhash='f7a0a98b5501789998d73cb5f3a73721', securitytoken='1293402559-c23e84804', id='submit0')) f = urllib2.urlopen('http://www.noblood.org/admincp/plugin.php?do=productkill/', params) data = f.read() f.close() It involves working with cookie and perhaps the securitytoken. Thank you ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|