Skip to content

Commit

Permalink
Modifications to paste.stgraber.org to v0.61 of pastebin site, update…
Browse files Browse the repository at this point in the history
…d usage instructions to reflect.
  • Loading branch information
DanBUK committed Feb 26, 2007
1 parent 3be01c4 commit 23e1017
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def getParameters(website, content, user, jabberid, version, format, parentpid,
"Return the parameters array for the selected pastebin"
params={}
# pastebin.com v0.50
if re.search("http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com))|(paste.stgraber.org))", website):
if re.search("http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))", website):
params['poster'] = user
params['code2'] = content
params['version'] = version
Expand All @@ -57,7 +57,7 @@ def getParameters(website, content, user, jabberid, version, format, parentpid,
# params['password'] = password
# params['regexp'] = "None"
# pastebin.com v0.61
elif re.search("http://((([a-zA-Z0-9\-_\.]*)(paste\.f\-box\.org|1t2\.us)))", website):
elif re.search("http://((([a-zA-Z0-9\-_\.]*)(paste\.f\-box\.org|1t2\.us|paste\.stgraber\.org)))", website):
params['poster'] = user
params['jid'] = jabberid
params['code2'] = content
Expand Down Expand Up @@ -110,7 +110,7 @@ def Usage ():
print "\t-a <author:default is '" + user + "'>"
print "\t-f <format of paste:default is '" + format + "'>"
print "\t-r <parent posts ID:defaults to none>"
print "Optional arguments supported only by 1t2.us:"
print "Optional arguments supported only by 1t2.us and paste.stgraber.org:"
print "\t-j <jabberid for notifications:default is '" + jabberid + "'>"
print "\t-m <permatag for all versions of a post:default is blank>"
print "\t-t <title of paste:default is blank>"
Expand Down

0 comments on commit 23e1017

Please sign in to comment.