AlphacodersDownloader
A script for download wallpapers on https://alphacoders.com/ written in Python.
Made with
Installation
Install on Archlinux
Link: https://aur.archlinux.org/packages/python-alphacodersdownloader/
You can use an AUR package manager as yay or pamac for example.
Example with yay:
yay -S python-alphacodersdownloader
Install on Debian/Ubuntu
With my apt repository
Install requirements:
apt install curl apt-transport-https gnupg2
Import GPG key:
curl -s https://asthowen.fr/key.gpg | gpg --dearmor | tee /usr/share/keyrings/asthowen.gpg > /dev/null
Add the repository in /etc/apt/sources.list.d/:
echo 'deb [signed-by=/usr/share/keyrings/asthowen.gpg] https://apt.asthowen.fr stable main' >> /etc/apt/sources.list.d/asthowen-packages.list
Update repositories and install package:
apt update && apt install python3-alphacodersdownloader
With deb file
Download the latest release on: https://github.com/Asthowen/AlphacodersDownloader/releases/latest.
Install package (replace fileName by the file name):
apt install -f ./fileName
Install on Fedora/RedHat/CentOS/AlmaLinux
With my RPM repository
Install requirement:
yum install curl
Add the repository in /etc/yum.repos.d/:
curl https://rpm.asthowen.fr/asthowen.repo > /etc/yum.repos.d/asthowen.repo
Update repositories and install package:
yum check-update && yum install AlphacodersDownloader
With RPM file
Download the latest release on: https://github.com/Asthowen/AlphacodersDownloader/releases/latest.
Install package (replace fileName by the file name):
yum install fileName
Install with Snap
Start by install Snap (see https://snapcraft.io/docs/installing-snapd).
And then, install the package:
snap install alphacoders-downloader
Install with PyPI
Install module:
python3 -m pip install AlphacodersDownloader
Install manually
Clone the repo and switch to folder:
git clone https://github.com/Asthowen/AlphacodersDownloader.git && cd AlphacodersDownloader/
Install dependencies:
python3 -m pip install -r requirements.txt
Start the script:
python3 run.py
Use
With helper
Start the script:
alphacoders-downloader
Enter a link: https://mobile.alphacoders.com/by-sub-category/227264 or https://wall.alphacoders.com/search.php?search=SAO for example.
Enter download path: ~/downloads/wallpapers/ for example.
If you want change download speed, start by typing y and after that, enter a new download speed, it must be in Ko.
With arguments
Arguments list
-S Link to the wallpaper, must be associated with the -P argument.
-P The path to download wallpapers, must be associated with the -S argument.
-D The download speed, it must be in Ko.
-H The help command.
-V Get infos about version.
Examples
Download wallpaper in ~/downloads/wallpapers/:
alphacoders-downloader -S "https://mobile.alphacoders.com/by-sub-category/227264" -P "~/downloads/wallpapers/" -D 1024
Dev
Before committing an update:
- The code must have a result of 10/10 with pylint, use the command:
pylint --recursive=y alphacoders_downloader/* - The code must be cleaned with blake, run the command:
black alphacoders_downloader/ && black setup.py && black build/setup_build.py
Author
License
Release files for AlphacodersDownloader 0.1.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| AlphacodersDownloader-0.1.4.3.tar.gz | 23.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| AlphacodersDownloader-0.1.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.3 kB
Release files / AlphacodersDownloader-0.1.4.3.tar.gz
| Download URL | AlphacodersDownloader-0.1.4.3.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c978221665cb98e8075a5e89997932a2d4a33bc3ea878e500c11134d738fe0a
|
|
BLAKE2b-256 checksum How to use checksums |
6d615623070289c04eb7472326391fe22ab1007d56a4e2cde041b4a70cbe83fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / AlphacodersDownloader-0.1.4.3-py3-none-any.whl
| Download URL | AlphacodersDownloader-0.1.4.3-py3-none-any.whl |
|---|---|
| Size | 24.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c7966a2f38d1751e30fa5b2c8b0b1b1cbf496bd1cd584bdaef6893c1c14e335
|
|
BLAKE2b-256 checksum How to use checksums |
754aff81a8a4e1fb25f9608ba467b6e76e79052d371703d179da18db8e98696b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|