Job Description: Python Developer to Repair and Enhance Web Scraping Script
We are looking for a skilled Python developer experienced in Selenium to repair and extend the functionality of our web scraping script. The script was fully functional until one month ago but requires updates due to changes in the target website's structure. Additionally, the script needs to be enhanced to filter and log profiles based on follower counts within specified ranges under specific hashtags.
Objective: 1. Restore the script's core functionality: - Navigate hashtags and profiles. - Like and comment on posts. - Handle edge cases such as private or inaccessible profiles.
2. Add filtering and logging functionality: - Scrape and log profile names and follower counts for profiles under specific hashtags. - Allow configuration of follower ranges (e.g., 10,000–20,000). - Output results in a structured format (e.g., CSV or JSON).
Key Tasks: 1. Repair the Existing Script: - Update locators to match the new website structure. - Resolve issues like NoSuchElementException and ElementClickInterceptedException. - Ensure robust performance through error handling and retries.
2. Implement Profile Filtering: - Scrape profile details under given hashtags. - Filter profiles by follower count ranges. - Log the profile name and follower count into a structured output.
3. Testing: - Validate the script's functionality across multiple hashtags. - Test the filtering logic thoroughly with different follower ranges.
Requirements: - Expertise in Python and Selenium for web scraping. - Experience adapting scripts to dynamic websites and resolving errors. - Knowledge of HTML structure analysis using tools like Chrome DevTools. - Ability to scrape and structure data efficiently.
This project requires delivering a fully functional script with the new features within 2-3 weeks. If you can deliver a robust solution, we’d love to hear from you!