Aftab Ahmed's Work | ContraWork by Aftab Ahmed
Aftab Ahmed

Aftab Ahmed

Python Web Scraping & Automation Expert

New to Contra

Aftab is building their profile!

Cover image for šŸ¤– WEB SCRAPING LEAD GENERATION
šŸ¤– WEB SCRAPING LEAD GENERATION BOT A Python automation bot that extracts product data from e-commerce websites and converts raw HTML into structured CSV leads. āš™ļø HOW IT WORKS (Step-by-Step): šŸ”¹ SCRAPE LAYER: requests.get() sends HTTP request to target URL BeautifulSoup parses HTML using CSS selectors Extracts: Product Name, Price, Availability Data stored in pandas DataFrame šŸ”¹ CLEAN LAYER: drop_duplicates() removes duplicate entries Regex pattern r"[^\d.]" removes currency symbols (Ā£, $) pd.to (http://pd.to)_numeric() converts price string to float Handles missing values automatically šŸ”¹ STORAGE LAYER: raw_leads.csv (original scraped data for audit) clean_leads.csv (processed, analysis-ready data) šŸ”¹ AUTOMATION LAYER: schedule.every().day.at (http://day.at)("14:51").do(run_bot) Continuous while loop with schedule.run (http://schedule.run)_pending() Bot runs daily without manual intervention šŸ“Š COMPLETE DATA PIPELINE: Website → HTTP Request → HTML Parse → Extract → Clean → Export CSV → Schedule Repeat šŸŽÆ REAL-WORLD USE CASE: Competitor price monitoring Automated lead generation for sales teams Market research data collection šŸ’» TECH STACK: Python, Requests, BeautifulSoup4, Pandas, Schedule
0
15
Cover image for This project is a Python-based
This project is a Python-based Ecommerce Sales Analysis tool that works automatically: šŸ“„ INPUT: books_data.csv (contains Product, Category, Price, Quantity, Date) āš™ļø PROCESSING: Pandas loads and cleans the data Creates new column 'Total_Sales' = Price Ɨ Quantity Groups data by Category for analysis Calculates statistics: average price, total revenue, top products šŸ“Š OUTPUT (Auto-generated): Revenue by category (bar chart) Order distribution (pie chart) Price vs quantity (scatter plot) Daily sales trend (line chart) CSV file with category analysis Text report with summary šŸŽÆ RESULT: A complete sales dashboard ready in seconds — no manual calculation needed.
2
25
Cover image for āœ… Price Tracker Bot running
āœ… Price Tracker Bot running successfully on terminal. This screenshot shows the automation script fetching live product price, comparing with previous value, and logging everything locally via Python (requests + BeautifulSoup). The bot is scheduled to run daily and sends an email only when a price drop is detected — no manual intervention required.
0
21