How luqmanr/web-scraping works
This repository is a collection of Python tools for gathering social-media and image-search data, preparing celebrity datasets, and cropping faces from images. The clearest end-to-end workflow is image-search screenshots for selected keywords, followed by optional face cropping; the crawler’s crop call is commented out, so the stages are not shown as an active pipeline. Separate Instagram account/follower collection and dataset-arrangement utilities are also present. The README is empty, and several relationships are known only from imports or filenames, so the graph omits unverified connections.
Main entry points: face_photo_crawler.py Keyword crawler · google_screenshot.py Google images · bing_screenshot.py Bing images · yahoo_screenshot.py Yahoo images
Components 21
Image collection
- Keyword crawler
chrome-screenshot/face_photo_crawler.py - Google images
chrome-screenshot/google_screenshot.py - Bing images
chrome-screenshot/bing_screenshot.py - Yahoo images
chrome-screenshot/yahoo_screenshot.py - Instagram screenshots
chrome-screenshot/instagram_screenshot.py - New-version entry
new_version/main.py
Face processing
- Face crop batch
chrome-screenshot/face_cropper.py - MTCNN cropper
chrome-screenshot/mtcnn_face_cropper.py - Face crop batch
new_version/library/face_cropper.py - MTCNN cropper
new_version/library/mtcnn_cropper.py
Instagram collection
- Instagram account tools
collect-data-instagram/collect-username.py - Follower crawlers
collect-data-instagram/get_followers.py - Following crawlers
collect-data-instagram/get_following.py - Profile lookup
collect-data-instagram/get_info.py - Account filtering
collect-data-instagram/filter-name.py
Dataset preparation
- CSV datasets
collect-data-instagram/process_data.py - Dataset file tools
dataset-arranger/renaming.py
Other components
- CLI user
- Image search sites
- Screenshot files
Connections 24
- CLI user → Keyword crawler: runs
chrome-screenshot/face_photo_crawler.py - Keyword crawler → Google images: runs optionally
chrome-screenshot/face_photo_crawler.py - Keyword crawler → Bing images: runs optionally
chrome-screenshot/face_photo_crawler.py - Keyword crawler → Yahoo images: imports
chrome-screenshot/face_photo_crawler.py - Keyword crawler → Instagram screenshots: imports
chrome-screenshot/face_photo_crawler.py - Google images → Image search sites: searches
chrome-screenshot/google_screenshot.py - Bing images → Image search sites: searches
chrome-screenshot/bing_screenshot.py - Yahoo images → Image search sites: searches
chrome-screenshot/yahoo_screenshot.py - Instagram screenshots → Instagram: opens pages
chrome-screenshot/instagram_screenshot.py - Google images → Screenshot files: writes screenshots
chrome-screenshot/google_screenshot.py - Bing images → Screenshot files: writes screenshots
chrome-screenshot/bing_screenshot.py - Yahoo images → Screenshot files: writes screenshots
chrome-screenshot/yahoo_screenshot.py - Instagram screenshots → Screenshot files: writes screenshots
chrome-screenshot/instagram_screenshot.py - Face crop batch → MTCNN cropper: calls cropper
chrome-screenshot/face_cropper.py - Face crop batch → MTCNN cropper: calls cropper
new_version/library/face_cropper.py - MTCNN cropper → Screenshot files: reads images
- MTCNN cropper → Screenshot files: reads images
- Instagram account tools → Instagram: collects accounts
- Follower crawlers → Instagram: collects followers
- Following crawlers → Instagram: collects following
- Profile lookup → Instagram: looks up profiles
- Account filtering → CSV datasets: writes results
collect-data-instagram/filter-name.py - Dataset file tools → CSV datasets: arranges files
- CLI user → Face crop batch: runs
chrome-screenshot/face_cropper.py