diff options
author | B. Watson <yalhcru@gmail.com> | 2016-09-08 20:51:08 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-09-08 20:51:08 -0400 |
commit | 132399131386a4a386bc2a7a07ca2c5156fb3e22 (patch) | |
tree | 67e0530d777d58ea4f3aea7134a5dbd1204ccd6c /sbosubmit | |
parent | 8aa70b89e8a285c25c435176f1d01d33f9071fc2 (diff) | |
download | sbostuff-132399131386a4a386bc2a7a07ca2c5156fb3e22.tar.gz |
add license/author info to sbosubmit, use https since http no longer works
Diffstat (limited to 'sbosubmit')
-rwxr-xr-x | sbosubmit | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ #!/usr/bin/perl -w +# automated submission client for slackbuilds.org web form. +# by B. Watson <yalhcru@gmail.com>. +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# run with no arguments for usage instructions. + use LWP; use Getopt::Std; @@ -100,7 +105,7 @@ print STDERR "Uploading..."; $ua = LWP::UserAgent->new; $ua->agent('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'); $resp = $ua->post( - 'http://slackbuilds.org/process_submit/', + 'https://slackbuilds.org/process_submit/', [ MAX_FILE_SIZE => '100000', userfile => [ $userfile ], category => $category, @@ -109,7 +114,7 @@ $resp = $ua->post( comments => $comments, submit => 'Upload File' ], Content_Type => 'form-data', - Referer => 'http://slackbuilds.org/submit/', + Referer => 'https://slackbuilds.org/submit/', ); print STDERR "\n"; |