Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.
GNU General Public License v3.0
589 stars 35 forks source link

sxcu.net problems #54

Closed UltraBlackLinux closed 3 years ago

UltraBlackLinux commented 3 years ago

So I tried to use this tool but it just doesn't work, I am pretty new with this and I got not Idea what's wrong, so please somebody send me a template, how to add a sxcu.net link :| I tried this:


{
  "DefaultFileUploader": "https://questionable.link/upload.php",
  "DefaultImageUploader": "https://questionable.link/upload.php",
  "DefaultUrlShortener": "https://questionable.link/upload.php",
  "XineramaHead": 0,
  "NotificationTime": 30,
  "NotifyUploading": true,
  "NotifyCommand": "",
  "ClipboardTime": 5,
  "SaveFolder": ".local/share/sharenix",
  "OrganizedFolders": false,

  "Services": [
        {
            "Name": "sxcu.net - reeee.ee",
            "DestinationType": "ImageUploader",
            "RequestURL": "https://reeee.ee/upload.php",
            "FileFormName": "image",
            "URL": "$json:url$",
            "ThumbnailURL": "$json:thumb$",
            "D eletionURL": "$json:del_url$"
        },
        {
            "Name": "sxcu.net - questionable.link",
            "DestinationType": "ImageUploader",
            "RequestURL": "https://questionable.link/upload.php",
            "FileFormName": "image",
            "URL": "$json:url$",
            "ThumbnailURL": "$json:thumb$",
            "D eletionURL": "$json:del_url$"
        },
        {
            "Name": "sxcu.net - mee6.is-terrible.com",
            "DestinationType": "ImageUploader",
            "RequestURL": "https://mee6.is-terrible.com/upload.php",
            "FileFormName": "image",
            "URL": "$json:url$",
            "ThumbnailURL": "$json:thumb$",
            "D eletionURL": "$json:del_url$"
        },
        {
            "Name": "sxcu.net - donald-trump.is-terrible.com",
            "DestinationType": "ImageUploader",
            "RequestURL": "https://donald-trump.is-terrible.com/upload.php",
            "FileFormName": "image",
            "URL": "$json:url$",
            "ThumbnailURL": "$json:thumb$",
            "D eletionURL": "$json:del_url$"
        },
        {
            "Name": "sxcu.net - go-outsi.de",
            "DestinationType": "ImageUploader",
            "RequestURL": "https://go-outsi.de/upload.php",
            "FileFormName": "image",
            "URL": "$json:url$",
            "ThumbnailURL": "$json:thumb$",
            "D eletionURL": "$json:del_url$"
        }
  ]
}
Francesco149 commented 3 years ago

the DefaultFileUploader and similar fields are the uploader name, not the url

UltraBlackLinux commented 3 years ago

Yeah I figured that out already, but I always get Site not found anyways.... - lol maybe not - how does it work now, maybe I am dumb, thanks for the help!

UltraBlackLinux commented 3 years ago

@Francesco149 does filenix support "$random:value1|value2|value3$"? It doesn't seem like it - or I made a mistake...

Francesco149 commented 3 years ago

nope it doesn't

UltraBlackLinux commented 3 years ago

@Francesco149 also, I got this: "Uploading file to quest URL: {"url":"https://questionable.link/QX1uzJ","del_url":"https://questionable.link/d/QX1uzJ/3c378672-b6ee-4e82-9f7e-f96f1688729d","thumb":"https://questionable.link/t/QX1uzJ.png"} Request failed: {"url":"https://questionable.link/QX1uzJ","del_url":"https://questionable.link/d/QX1uzJ/3c378672-b6ee-4e82-9f7e-f96f1688729d","thumb":"https://questionable.link/t/QX1uzJ.png"} Why does the request fail? "

        {
            "Name": "quest",
            "DestinationType": "ImageUploader, FileUploader",
            "RequestURL": "https://questionable.link/upload",
            "FileFormName": "image",
            "RequestType": "POST",
            "URL": "$input$"
        },
Francesco149 commented 3 years ago

hmm not sure, but if it shows the notification as if it uploaded correctly it should be fine