Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Just a 4-character fix for redirect. #18

merged 1 commit into from

2 participants

@ttscoff changed their API, too, so the single-link functionality is broken. I'll come up with something, but this fixes the multi-link functionality for now.


Ah, Thanks Brett. I did have a report that was having issues. I have not looked into it yet.

@aptonic aptonic merged commit 6daaa63 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 27, 2012
  1. @ttscoff

    fix for url redirect change

    ttscoff authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  LinkSmasher.dropzone
2  LinkSmasher.dropzone
@@ -53,7 +53,7 @@ def bunch_links(text)
links = text.scan(/((?:http|https):\/\/[\w\-_]+(?:\.[\w\-_]+)+(?:[\w\-\.,@?^=%&:\/~\+#]*[\w\-\@^=%&\/~\+#])?)/m)
unless links.empty?
linkbunch = CGI.escape(links.join("\n"))
- url = "{linkbunch}&bunch=Bunch&mode=api"
+ url = "{linkbunch}&bunch=Bunch&mode=api"
res = Net::HTTP.get_response(URI.parse(url))
if res.code.to_i == 200
$dz.finish("#{links.length} links bunched")
Something went wrong with that request. Please try again.