Hacker News new | ask | show | jobs
by edaemon 3266 days ago
Can't you use the /raw/ URL for that? E.g. https://pastebin.com/raw/AC3FGHBX
1 comments

Works for pastebin.com, but not dpaste.com, sprunge.us, ix.io, fpaste.org, ideone.com, paste.fedoraproject.org, hastebin.com, termbin.com, paste.debian.net, gist.github.com, bpaste.net, lpaste.net, pastee.com, irccloud.com, codepad.org or susepaste.org.

I currently have ~40 lines of regex for this, plus some custom logic for a few that don't have raw URLs at all. A service would be very convenient.

Some would say you're half way to building what you want... Launch and sell!