I was able to get the source code of the current Safari web page using the following code:
req = appex.get_web_page_info()
print(req['html'])
From there I was able to parse through the HTML using BeautifulSoup.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
I was able to get the source code of the current Safari web page using the following code:
req = appex.get_web_page_info()
print(req['html'])
From there I was able to parse through the HTML using BeautifulSoup.