devmnj / wallpaperflare-downloader

Wallpaperflare.com downloader script using Python and selenium module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wallspyder

Python package

Set of wallpaper download automation scripts using selenium package and Webdriver. You can search and download wall paper in a single line of brilliant python code,using the appropriate classes.How to use

Go head, clone or install the package and just use the appropriate object to search and download images.

Requirements

  • Python 3.7 or later
  • Windows/Linux/Mac
  • Python Modules
    • Selenium
    • webdriver-manager

On Windows

In Windows you can just install the pacakge from github git with pip command as follows

# Install the package
pip install wallspyder
or
pip install git+https://github.com/manojap/wallspyder.git

from wallspyder import pexels
from wallspyder import flareDownloader

wallpaperflare.search('python').download(30)
pexels.search('fruits').download()

On Linux or Mac

On linux and Mac you need to clone the repo and install requirements

# clone the repo

git clone https://github.com/manojap/wallspyder.git

pip install -r requirements.txt

from wallspyder import pexels
from wallspyder import flareDownloader

wallpaperflare.search('python').download(30)
pexels.search('fruits').download()

Default Save location - Firefox

Make sure your save location is set to default [Firefox] or do it for the first time, after the automation process begins and pop up window for file action.

Delaying download

Use delay for wait some time for loading downloading button in slower internet connection

cars = flareDownloader('cars').download(delay=100)

Even though I included the Firefox and chrome support.I recommend Chrome for pexels like sites

About

Wallpaperflare.com downloader script using Python and selenium module

License:MIT License


Languages

Language:Python 100.0%