Rolf,
I was able to make the changes to lenny's pastebinit. This only
required modifying some key:value pairs for pastebin.com. I am
attaching a patch.
I have also rebuilt the source package.
There is a git repo: git://linuxgen.com/pastebinit
Also hosted over http for use with dget:
http://linuxgen.com/debian/pastebinit/pastebinit_0.10-2.dsc
Thanks,
--
Jordan Metzmeier
*** pastebinit 2010-05-06 22:48:58.000000000 -0400
--- pastebinit-new 2010-05-06 22:48:39.000000000 -0400
***************
*** 38,51 ****
params={}
# pastebin.com v0.50
if re.search("http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))", website) and not website == "http://www.pastebin.com" or website == "http://pastebin.mozilla.org":
! params['poster'] = user
! params['code2'] = content
! params['version'] = version
! params['parent_pid'] = parentpid #For reply, "" means homepage (new thread)
! params['format'] = format #The format, for syntax hilighting
! params['paste'] = "Send"
! params['remember'] = "0" #Do you want a cookie ?
! params['expiry'] = "f" #The expiration, f = forever
# elif website == "http://pastebin.ca":
# params['name'] = user
# params['content'] = content
--- 38,52 ----
params={}
# pastebin.com v0.50
if re.search("http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))", website) and not website == "http://www.pastebin.com" or website == "http://pastebin.mozilla.org":
! params['paste_code'] = content
! params['paste_name'] = user
! params['paste_subdomain'] = ""
! params['paste_private'] = "0"
! params['paste_expire_date'] = "N"
! params['paste_email'] = ""
! params['page'] = "/api_public.php"
! params['submit'] = "submit"
! params['regexp'] = "http://pastebin.com(.*)"
# elif website == "http://pastebin.ca":
# params['name'] = user
# params['content'] = content