@danhachuel/thunderbolt 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/main.py +7 -4
- package/package.json +1 -1
package/app/main.py
CHANGED
|
@@ -2668,12 +2668,15 @@ def render_channels():
|
|
|
2668
2668
|
|
|
2669
2669
|
with import_tab:
|
|
2670
2670
|
st.caption("A pesquisa pública funciona sem API Key. A Data API é opcional e fica disponível numa opção separada para métricas oficiais.")
|
|
2671
|
-
|
|
2672
|
-
lookup_cols = st.columns(2)
|
|
2671
|
+
lookup_cols = st.columns([2.2, 1.0], gap="medium")
|
|
2673
2672
|
with lookup_cols[0]:
|
|
2674
|
-
|
|
2673
|
+
source = st.text_input("URL, handle ou ID do canal", placeholder="https://youtube.com/@seucanal", key="youtube_channel_source")
|
|
2675
2674
|
with lookup_cols[1]:
|
|
2676
|
-
st.
|
|
2675
|
+
lookup_mode = st.selectbox(
|
|
2676
|
+
"Método de consulta",
|
|
2677
|
+
["Página pública — sem API Key", "YouTube Data API — API Key opcional"],
|
|
2678
|
+
key="youtube_channel_lookup_mode",
|
|
2679
|
+
)
|
|
2677
2680
|
col1, col2 = st.columns([1, 1])
|
|
2678
2681
|
with col1:
|
|
2679
2682
|
if st.button("Buscar no YouTube", type="primary", width="stretch", key="youtube_channel_lookup"):
|
package/package.json
CHANGED