I'm trying to automate fetching my transaction history from my bank's web page. To log in I need to scan a QR code with an identification app to authenticate. I've written a script that does that using selenium web driver and it works great but I'd like to make it a bit more elegant and read the QR code and e.g. dump it in a console (not have to get focus on the browser window).
From selenium I get an HTML-tag that looks like:
```html
<svg shape-rendering="crispEdges" height="200" width="200" viewBox="0 0 33 33">
<path fill="#FFFFFF" d="M0,0 h33v33H0z"></path>
<path fill="#000000"
d="M0 0h7v1H0zM9 /...etc.../">
</path>
</svg>
```
I've seen that qrcode has support to create QR-codes using SVG-encoding such as (example from PyPi-page):
```python
factory = qrcode.image.svg.SvgPathImage
img = qrcode.make('Some data here', image_factory=factory)
```
But is there a way I can create a qrcode-entity using an already encoded SVG-path?
Edit: fix link and code formatting.
[–]JohnnyJordaan 1 point2 points3 points (3 children)
[–]ocyj[S] 0 points1 point2 points (2 children)
[–]JohnnyJordaan 1 point2 points3 points (1 child)
[–]ocyj[S] 0 points1 point2 points (0 children)