etaoin 2022-05-20

Cool! I think I’ll add a section to docs with some execute examples. Another handy use of execute I recently discovered is supporting https://github.com/clj-commons/etaoin/issues/359#issuecomment-1121422096 (on Chrome anyway).

❤️ 1

@borkdude I feel no library is complete without a clj-kondo export config simple_smile (well the ones that would benefit from one anyway). When you have the time and interest, would you be so kind to add any thoughts/advice to https://github.com/clj-commons/etaoin/issues/413?

it's not clear to me which macros beyond those with B need extra help from hooks?

I will continue in the issue

That looks like a base64-encoded string to me

🙏 1

@steveholt04 You can probably decode that as follows:

(def bytes (-> (java.util.Base64/getDecoder) (.decode base64-string)))
And then write to disk using:
(io/copy bytes (io/file "/tmp/file.pdf"))

🙏 1

Note that you first have to decode the base64 and do not write it directly to a pdf file, that doesn't work

🙏 1