AlphacodersDownloader
A script to download wallpapers on https://alphacoders.com written in Python.
Install / Use
/learn @Asthowen/AlphacodersDownloaderREADME
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
And install package:
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
Currently, due to the use of CloudFlare, it is no longer possible to retrieve wallpapers directly from https://alphacoders.com. So you have to go to the page of the wallpaper you want and scroll to the maximum to display all the wallpapers, you can then download the HTML file of the page.
With helper
Start the script:
alphacoders-downloader
Enter the path to the previously downloaded HTML file: ./some.html 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
-F The path to the HTML file of the page containing the wallpapers to download, must be associated with the -P argument.
<br>
-P The path to download wallpapers, must be associated with the -F argument.
<br>
-D The download speed, it must be in Ko.
<br>
-H The help command.
<br>
-V Get infos about version.
Examples
Download wallpaper in ~/downloads/wallpapers/:
alphacoders-downloader -F ./some.html -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 black, run the command:
black alphacoders_downloader/ && black setup.py && black build/setup_build.py
Author
License
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
