Skip to content

Reeskoos/pexels-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pexel-Parser

Python async parser to download stock images from pexels.com.

Works on asyncio/httpx packages.

To use it you need:

  1. Get API key at https://www.pexels.com/api/.

  2. Get proxy.

Installation

  1. Clone repository:
git clone https://github.com/Reeskoos/pexels-parser.git
  1. Create virtual enviroment in repository directory:
python -m venv venv
  1. Activate it:
./venv/Scripts/activate
  1. Run:
pip install -r requirements.txt
  1. Create .env file with following code in repository directory:
API_KEY=YourAPIKey
PROXY_LOGIN=YourProxyLogin
PROXY_PASS=YourProxyPassword
PROXY_IP=YourProxyIP

Usage

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.

About

Download images from pexels.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages