- Notifications
You must be signed in to change notification settings - Fork10
A multithreaded tool for searching and downloading images from popular search engines. It is straightforward to set up and run!
datnnt1997/CygnusX1
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Code by 🧑💻Trong-Dat Ngo.
🕳️CygnusX1 is a multithreaded tool 🛠️, used to search and download images from popular search engines 🔎. It is straightforward to set up and run!
- 🥰 No knowledge is required to set up and to run.
- 🚀 Download image using customizable number of threads.
- ⛏️Crawl all possible images (search results and recommendations).
This repository is tested on Python 3.6+ and PyTorch selenium 3.141.0+, as well as it works fine on macOS, Windows, Linux.
You should setup and run 🕳️CygnusX1 in avirtual environment. If you'reunfamiliar with Python virtual environments, check out the user guidehere.
First, create a virtual environment with the version of Python you're going to use and activate it. (Can be omitted if you want to set up directly on the OS environment)
source venv/bin/activateInstall 🕳️CygnusX1 by pip:
pip install CygnusX1
Download 🕳️CygnusX1 from Github:
git clone https://github.com/dat821168/CygnusX1.git
Finally install dependencies inrequirements.txt:
pip install -r requirements.txt
Use cygnusx1 command line:
cygnusx1 --keywords"keyword 1, keyword 2" --workers 8 --use_suggestions --headlessUserun.py to start the script:
python run.py --keywords"keyword 1, keyword 2" --workers 8 --use_suggestions --headlessArgument details:
--keywords: Indicate the keywords/keyphrases you want to search. For multiple keywords, separate them with commas.--out_dir: Path where to save results. Default = './IMAGES'.--workers: The maximum number of workers used to crawl image. Default = 2.--use_suggestions: Crawl search engine suggestions/recommendations. Default = False.--headless: Hide browser during scraping. Default = False.
SupporGoogle search engine.- SupportBing search engine.
- SupportBaidu search engine.
- Limit amount of images which you want to download.
- Detect duplicated or very similar images.
About
A multithreaded tool for searching and downloading images from popular search engines. It is straightforward to set up and run!
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.
