Key Features:
? Automated Browsing: Uses Selenium to log into LinkedIn, navigate to the "Saved Posts" section, and retrieve all saved items.
Robust Post Extraction: Intelligently extracts post content and retrieves the unique post URL, handling potential dynamic loading issues.
? AI-Powered Titling: Employs the Groq API (Llama 3.1 model) to generate concise, descriptive titles for each post based on its content, improving findability.
AI-Driven Categorization: Utilizes the Groq API to automatically classify each post into predefined categories (e.g., Frontend_Resources, Engineering_Careers) based on its generated title.
Organized Storage: Saves the generated title and URL into category-specific text files within a structured directory (linkedin_posts/Category_Name/posts.txt).
️ Duplicate Prevention: Tracks already processed post URLs using a JSON file to avoid redundant processing.
⏱️ Efficient Processing: Implements batch processing and strategic delays to handle numerous posts while respecting API rate limits and website loading times.
️ User Feedback: Provides clear console output (using Colorama) on the progress and status of the classification process.