# ๐ŸŽฌ Amazon Prime Video Scraper (by Mike | DRMLab.io) An intelligent and interactive Python scraper for [https://www.primevideo.com](https://www.primevideo.com), designed to extract movie and series links via storefront, genre, or keyword search. --- ## ๐Ÿš€ Features ### ๐ŸŽ›๏ธ Menu Options - `1๏ธโƒฃ` Extract from the main storefront - `2๏ธโƒฃ` Search by keyword (manual or random) - `3๏ธโƒฃ` Browse by genre (Action, Comedy, Drama, etc.) - `4๏ธโƒฃ` Exit --- ### ๐Ÿง  Built-in Intelligence - โœ… Duplicate link filtering using `seen_links_prime.txt` - ๐ŸŽฌ Shows movie title (`alt`, `title`, or inner text) - ๐Ÿ“œ Full page scroll support (lazy loading) - ๐Ÿ’พ Saves links in `output_prime/` folder (10+ per file) - ๐Ÿ• Timestamped filenames (e.g. `prime_search_war_20250516_184030.txt`) - ๐Ÿ“Š Shows number of new links and skipped duplicates - ๐Ÿงพ Writes to `log.txt` after each scan --- ## ๐Ÿ“ Folder Structure output_prime/ โ”œโ”€โ”€ prime_search_war_20250516_184030.txt โ”œโ”€โ”€ prime_genre_action_20250516_184200.txt seen_links_prime.txt log.txt ## ๐Ÿ“ฆ Requirements - Python 3.8+ - Google Chrome (installed) - Selenium - WebDriver Manager ```bash pip install selenium webdriver-manager ๐Ÿ”ฎ Planned Features โ€ข ๐Ÿ” Profile selection support โ€ข ๐Ÿช Cookie-based auto-login โ€ข ๐Ÿ“ฅ Integration with vt dl for automated downloads โ€ข ๐Ÿ“ˆ More metadata per movie (poster, description, etc.)