|
@@ -3,6 +3,7 @@
|
|
|
set -e
|
|
set -e
|
|
|
|
|
|
|
|
file="$HOME/screenshot.png"
|
|
file="$HOME/screenshot.png"
|
|
|
-url=`curl https://pomf.cat/upload.php -F "files[]=@$file" | grep -o '"url":".*",'`
|
|
|
|
|
-url=https://a.pomf.cat/${url:7:${#url}-9}
|
|
|
|
|
|
|
+url=`curl -m 5 -s https://mixtape.moe/upload.php -F "files[]=@$file" | grep -o '"url":".*",'`
|
|
|
|
|
+url=${url:7:${#url}-9}
|
|
|
|
|
+url=${url//\\\//\/}
|
|
|
x-www-browser $url
|
|
x-www-browser $url
|