Python async parser to download stock images from pexels.com.
Works on asyncio/httpx packages.
-
Get API key at https://www.pexels.com/api/.
-
Get proxy.
- Clone repository:
git clone https://github.com/Reeskoos/pexels-parser.git
- Create virtual enviroment in repository directory:
python -m venv venv
- Activate it:
./venv/Scripts/activate
- Run:
pip install -r requirements.txt
- Create .env file with following code in repository directory:
API_KEY=YourAPIKey
PROXY_LOGIN=YourProxyLogin
PROXY_PASS=YourProxyPassword
PROXY_IP=YourProxyIP
Run main.py and follow instructions in console.
Use example:
[INFO] Welcome to PexelsParser!
Do not use special characters ($%#!* etc.) in your input.
Enter your query: people dancing
After complition you can find images in repository_dir/query directory.