How do i get the current open browser tabs (Python 3)

  browser, python, python-3.x

What i want to achieve:

  • Get current open browser tabs
  • Get their urls
  • Make it efficient and not slow

What i want to use it for:

  • I am working on my own antivirus in python. I know python isn’t the greatest language for this but i got some functions done already.

I’ve been looking for answers but couldn’t find anything similar.
I have taken a look into the webbrowser for python but nothing was useful from the wiki. If anyone could help me that would be awesome.

Source: Python-3x Questions