# app.py import streamlit as st import os def main(): st.set_page_config( page_title="Social Media Data Extractor", page_icon="🔍", layout="wide", initial_sidebar_state="expanded" ) st.markdown(""" """, unsafe_allow_html=True) # Header st.markdown("""

🔍 Social Media Data Extractor

100% Free - No Local Setup Required

""", unsafe_allow_html=True) # Platform selection st.markdown("## 🚀 Launch Extractors") col1, col2, col3 = st.columns(3) with col1: st.markdown("""

💼 LinkedIn Extractor

""", unsafe_allow_html=True) if st.button("🚀 Launch LinkedIn Extractor", key="linkedin_btn", use_container_width=True): st.switch_page("pages/linkedin_extractor.py") with col2: st.markdown("""

📘 Facebook Extractor

""", unsafe_allow_html=True) if st.button("🚀 Launch Facebook Extractor", key="facebook_btn", use_container_width=True): st.switch_page("pages/facebook_extractor.py") with col3: st.markdown("""

🔥 Facebook Extractor 2.0

""", unsafe_allow_html=True) if st.button("🚀 Launch Facebook Extractor 2.0", key="facebook_pro_btn", use_container_width=True): st.switch_page("pages/facebook_extractor_pro.py") # Instructions with st.expander("📋 How to Use", expanded=True): st.markdown(""" 1. **Click any extractor to launch** 2. **For LinkedIn:** Enter any LinkedIn URL 3. **For Facebook:** Public data extraction available 4. **AI Analysis:** Chat with extracted data **Note:** All extractors are 100% free and require no local setup. """) if __name__ == "__main__": main()