here is how i embed html
import streamlit as st
import extra_streamlit_components as stx
import codecs
import streamlit.components.v1 as stc
def my_html(html_file,width=300,height=300):
html_file=codecs.open(html_file,'r')
page=html_file.read()
stc.html(page,width=width,height=height,scrolling=False)
my_html('a.html')
********Now problem is that html generates a json array,how can i access that in python script…maybe using cookies or something?