Giter Site home page Giter Site logo

interfacelift-downloader's Introduction

Python InterfaceLIFT Downloader

A Python script to download wallpapers from interfacelift.com. This script has multithreading support.

Download the latest release here.

Prerequisites

Usage

python interfacelift-downloader.py [-d DEST] [-t THREADS] [-o] [resolution]

If not specified, the default parameters used are:

  • Resolution: 1920x1080
  • Destination Directory: ./wallpapers
  • Threads: 4
  • Overwrite: disabled

To list available resolutions:

python interfacelift-downloader.py --list

To show the help message:

python interfacelift-downloader.py -h

Examples

To download 1920x1080 wallpapers to the ./wallpapers directory:

python interfacelift-downloader.py 1920x1080

To download 1600x900 wallpapers using 8 threads:

python interfacelift-downloader.py -t 8 1600x900

To download 1600x900 wallpapers to the ./wallpapers/1600x900 directory:

python interfacelift-downloader.py -d "wallpapers/1600x900" 1600x900

Issues

If you have a suggestion or encounter any problems, please submit an issue!

License

This script is licensed under the terms of the MIT license.

interfacelift-downloader's People

Contributors

benjaminheng avatar hanwentao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

interfacelift-downloader's Issues

IOS

Can we add resolutions for like iphone/ipad?

启动报错

image

系统版本: macOS 10.14.6 (18G6042)
内核版本: Darwin 18.7.0

Ignore files on exclusion list

It would be fantastic if the script could read a plaintext list of filenames and exclude them from the download. There are always a few wallpapers that are not wanted for whatever reason, and this would prevent having to delete them after every download.

(Thanks for creating a great utility!)

Stop downloading at nnnnn serial number.

If I am to assume that the way this works is it starts to download in a descending order, latest to the oldest.

In my folder I have got all the previous ones and all I want is to download everything after image serial number 03990 (03990_autumncapital_2560x1440.jpg).

Is this even possible?

Default resolution or no parameters supplied

Hi!

While I have your attention... 😃

Executing the script without parameters means that it assumes somethings. The resolution parameter can be made to assume the actual resolution of the system as a default. This means less typing and more smarts. 😄

Currently it assumes 1920 x 1080, on my iMac 27". You can use built-in Perl libraries to establish the actual resolution as the default or (on a mac) run this on the terminal to get the default monitor resolution
system_profiler SPDisplaysDataType | grep "Resolution:" | sed "/.*: /s///"

Hope this helps.

Clear partially downloaded files when interrupted.

I am not sure how easy or hard this is going to be, but when you receive Ctrl+C it leaves partially downloaded files in the directory, can you clean up partials before it destructs...?

TIA once again.

To overwrite or not to overwrite

Hi,
Firstly, Love your script!

Secondly, love interface lift.

I'd like to suggest a modification/enhancement to this script such that when downloading we can indicate that if the filename already exists, don't download. This way we can keep getting what is new and not re-download what was already present.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.