Dive into a world where your favorite live wallpapers come to life right on your desktop! This project, featuring Python script π - main.py
, empowers you to scrape video links π from a website and download those mesmerizing videos using the swift Aria2c download manager.
Before we get started, make sure you have:
- Python 3.x π installed on your machine.
- Aria2c π₯ for the smooth downloading of videos.
Follow these steps to set up the LiveWallpaper Downloader:
- Clone the repository:
git clone https://github.com/notcoderguy/livewallpaper-downloader.git
cd livewallpaper-downloader
- Install the required Python packages:
pip install -r requirements.txt
-
Aria2c Installation:
-
For Linux (Ubuntu/Debian) users:
sudo apt-get install aria2
-
For macOS users (via Homebrew):
brew install aria2
-
For windows users (via Scoop):
scoop install aria2
-
Execute the main.py
script to start scraping video links from your chosen website. Customize the BASE_URL and MAX_PAGE within the script for a personalized scrape.
python main.py update
This generates a links.txt
file teeming with the scraped video links.
With the links.txt
filled with video URLs, trigger the main.py
script to commence the download. Simply specify your desired download directory.
python main.py download <your_download_directory>
Leverage the power of Aria2c and multithreading to download the videos concurrently, bringing efficiency to your command.
Tailor the download experience by adjusting the download_threads
variable within the main.py
script, ensuring the download process aligns with your system's capabilities.
Unleash the potential of LiveWallpaper Downloader, which stands proudly under the MIT License. Dive into the LICENSE file for all the legal details.
A huge shoutout to:
- cloudscraper for skillfully bypassing anti-bot protections.
- Aria2 for its unmatched efficiency in downloading files.
Embark on a journey with LiveWallpaper Downloader and transform your desktop into a dynamic canvas of your favorite visuals! πβ¨