Skip to content

abhishek-aar-zz/pexels-qldl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pexels-qldl

A Query Link Downloader for [www.pexels.com]
Written in: Python

DISCLAIMER
  • This project is done only for educational purpose
  • If you are interested in creating any web scraper, you can learn through my projects
  • I am not responsible for any future controversies/copyright issues
  • Making use of my project for any illegal activities does not count as my responsibility

Instruction Video on Youtube.

Shall be released soon.

What is qldl?

qldl is a acronym for Query Link Downloader.
Here, you get links of images. Later these links are used to download using third party apps.

Why we use IDM?

Here we use Internet Download Manager to download with blazing speed. Since it is meant to download, it has tonnes of features to use.

What is it?

It is a python based downloader used to download high quality images from [www.unsplash.com] official site.

Why is it in python?

Since python is one of the programming languages which is very popular and very powerful. We use python for our tool's development.

Why we use "Selenium" but neither "BeautifulSoup" nor "Requests"?

Since https://www.pexels.com is a client of https://www.cloudflare.com, It is better to use a webdriver instead of requests. You will get captchas if you go through requests. We could have used bs4, but we chose Selenium.


Prerequisite (for Windows)

  • Firstly you need python in your computer.
  • Download these modules: requests, Beautifulsoup, urllibs, click, selenium
  • Run the given commands on windows command-line. This instruction is particularly for Windows user. If you use any other machine, please see the documentations of the following modules.
pip install requests
pip install beautifulsoup4
pip install urllib3
pip install click
pip install selenium
  • We recommend to use firefox browser, so please download firefox for your machine.
  • Download geckodriver.exe here.
  • Add the path of geckodriver.exe file to the environment variable in Windows OS.

Download a database related to a query

  1. Download the files as it is.
  2. Open command prompt from the directory in which your downloaded files are present.
  3. Use the given command to download :
    python pexels-qldl.py --query [search for something]
    For example:
    python pexels-qldl.py --query nature
  4. OR you can simply do this:
    python pexels-qldl.py

screenshot_1

screenshot_2

  1. You will get a text file containing urls of the query. Copy the urls to your clipboard.
  2. Open IDM on your computer, go to Tasks >> Add batch download from clipboard >> Select all >> Download

Thank You

About

A Query Link Downloader for https://www.pexels.com [command-line interface]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages