This Python script allows you to crawl and download images from multiple URLs of Adobe Portfolio pages using Selenium and Requests. The images are saved into custom folders, or the default folder names based on the URL.
- Download images from multiple URLs.
- Save images into custom or default folders.
- Automatically open the download folder in Finder (macOS).
- Detailed error logging for easier troubleshooting.
- Python 3.x
- Selenium
- Requests
- Chrome WebDriver
-
Clone the repository:
git clone https://github.com/yourusername/adobe-portfolio-image-downloader.git cd adobe-portfolio-image-downloader
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install selenium requests
-
Download and setup Chrome WebDriver:
- Make sure
chromedriver
is installed and available in your system PATH. - You can download it from here.
- Make sure
-
Run the script:
python3 image_downloader.py
-
Input the URLs and custom folder names:
- Enter the URLs to crawl, separated by commas.
- Enter custom folder names separated by commas. If you do not provide a custom name, the default will be the last segment of the URL.
Enter the URLs to crawl, separated by commas: https://example1.adobe.com/portfolio, https://example2.adobe.com/gallery
Enter custom folder names separated by commas (press Enter to use URL's name after last slash): portfolio_images, gallery_images