weboob.tools.js

class weboob.tools.js.Javascript(script, logger=None)

Bases: object

HEADER = "\n function btoa(str) {\n var buffer\n ;\n\n if (str instanceof Buffer) {\n buffer = str;\n } else {\n buffer = new Buffer(str.toString(), 'binary');\n }\n\n return buffer.toString('base64');\n }\n\n function atob(str) {\n return new Buffer(str, 'base64').toString('binary');\n }\n\n var document = {};\n "
call(*args, **kwargs)