How skrbyrm/python-web-scraping-with-selenium works
This is a Selenium-based scraper that logs into a website for each account in an Excel credential list, collects table data, filters and enriches the results, and writes them to MySQL and Excel. The main workflow and storage operations are visible in scrap.py. The README also describes the product’s capabilities; all implementation nodes share that single source file because the code is monolithic. The graph does not infer unshown website behavior or database internals.
Main entry points: scrap.py Account workflow
Components 18
Inputs and orchestration
- Account workflow
scrap.py - Credential conversion
scrap.py
Browser scraping
- Browser setup
scrap.py - Login
scrap.py - Page navigation
scrap.py - Table scraping
scrap.py
Data processing
- Filter and enrich
scrap.py
Persistence and updates
- SQL connection
scrap.py - Date checkpoint
scrap.py - Consumption write
scrap.py - Period updates
scrap.py - Excel output
scrap.py - Error report
scrap.py
Other components
- Operator
- Credential workbook
- Authenticated website
- MySQL database
- Output workbooks
Connections 23
- Operator → Account workflow: starts
scrap.py - Credential workbook → Credential conversion: reads
scrap.py - Credential conversion → Account workflow: provides accounts
scrap.py - Account workflow → Browser setup: initializes
scrap.py - Account workflow → Login: calls
scrap.py - Login → Authenticated website: authenticates
scrap.py - Account workflow → Page navigation: clicks
scrap.py - Page navigation → Authenticated website: interacts
scrap.py - Account workflow → Table scraping: calls
scrap.py - Table scraping → Authenticated website: reads table
scrap.py - Account workflow → Date checkpoint: checks dates
scrap.py - Date checkpoint → SQL connection: reads through
scrap.py - SQL connection → MySQL database: queries
scrap.py - Account workflow → Filter and enrich: filters and enriches
scrap.py - Table scraping → Account workflow: returns rows
scrap.py - Account workflow → Consumption write: persists results
scrap.py - Consumption write → MySQL database: appends rows
scrap.py - Account workflow → Period updates: calls procedures
scrap.py - Period updates → MySQL database: updates periods
scrap.py - Account workflow → Excel output: exports results
scrap.py - Excel output → Output workbooks: writes sheets
scrap.py - Account workflow → Error report: exports errors
scrap.py - Error report → Output workbooks: writes sheet
scrap.py