Update Home.py
Browse files
Home.py
CHANGED
|
@@ -3,8 +3,6 @@ import streamlit as st
|
|
| 3 |
import pandas as pd
|
| 4 |
import numpy as np
|
| 5 |
import re
|
| 6 |
-
from urllib.parse import urlparse
|
| 7 |
-
import os
|
| 8 |
|
| 9 |
|
| 10 |
#===config===
|
|
@@ -29,14 +27,11 @@ df = connect_gsheet()
|
|
| 29 |
|
| 30 |
st.write(df)
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
testurl = urlparse.parse_qs(parsed.query)['param']
|
| 35 |
-
st.write(parsed)
|
| 36 |
-
st.write(testurl)
|
| 37 |
|
| 38 |
-
|
| 39 |
-
st.write(
|
| 40 |
|
| 41 |
#Title
|
| 42 |
st.title('PerpusDB: Article')
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
import numpy as np
|
| 5 |
import re
|
|
|
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
#===config===
|
|
|
|
| 27 |
|
| 28 |
st.write(df)
|
| 29 |
|
| 30 |
+
urlz = st.query_params.to_dict()
|
| 31 |
+
st.write(urlz)
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
paramx = st.query_params.get_all()
|
| 34 |
+
st.write(paramx)
|
| 35 |
|
| 36 |
#Title
|
| 37 |
st.title('PerpusDB: Article')
|