posted on March 31, 2015
Upon inspecting the bookmarklet code, I saw that the URL one wants to import has to be converted to base64. Even TextTool does not handle this conversion. Fortunately, HyShai on Twitter reminded me that Pythonista supports base64 conversion.
Although I do not code in Python, I was able to look at other people's scripts and cobble together the following:
This script takes whatever is on the clipboard, converts it to base64, and appends it as the value of an URL parameter for importing a link into Wallabag. To send the URL to Pythonista, I use the following Launch Center Pro URL action: