Troubleshooting Guide
This guide helps you solve common problems you might encounter when using the Ultimate Media Downloader.
Installation Issues
Python Not Found
Symptom: Running python3 --version shows "command not found"
Solution:
On macOS:
brew install python@3.11
On Ubuntu/Debian:
sudo apt install python3
On Windows: Download and install from python.org
Command "umd" Not Found After Installation
Symptom: After running the install script, umd command is not recognized
Solution:
The Python scripts directory is not in your PATH.
On macOS (zsh):
echo 'export PATH="$PATH:$HOME/Library/Python/3.11/bin"' >> ~/.zshrc
source ~/.zshrc
On Linux (bash):
echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrc
source ~/.bashrc
On Windows: Restart your terminal or computer after installation.
Permission Denied on Linux/macOS
Symptom: Running ./scripts/install.sh shows "Permission denied"
Solution:
chmod +x scripts/install.sh
./scripts/install.sh
pip Install Fails with SSL Error
Symptom: pip shows SSL certificate verification errors
Solution:
pip3 install --upgrade certifi
pip3 install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements.txt
Missing Dependencies
Symptom: Import errors when running the application
Solution:
pip3 install -r requirements.txt
If specific packages fail, install them individually:
pip3 install yt-dlp rich mutagen
Download Issues
Video Not Downloading
Symptom: Download starts but produces no file
Possible Causes and Solutions:
- URL is incorrect: Double-check the URL
- Content is private: Use cookies for authenticated access
- Geographic restriction: Try using a proxy or VPN
- Site changed: Update yt-dlp with
pip3 install -U yt-dlp
Download Stuck at 0%
Symptom: Progress bar shows 0% and does not move
Solutions:
- Check your internet connection
- Try a different quality:
umd "URL" --quality 720p - Use verbose mode to see details:
umd --verbose "URL" - The server might be slow, wait a bit longer
"Unable to Extract" Error
Symptom: Error message about unable to extract video
Solutions:
-
Update yt-dlp:
pip3 install -U yt-dlp -
Try the generic downloader:
umd "URL" --verbose -
Check if the URL is still valid (video might be deleted)
Download Speed is Very Slow
Solutions:
- Try a different quality (lower quality downloads faster)
- Check if your ISP is throttling
- Try at a different time (less server load)
- Use a VPN or proxy
Resume Not Working
Symptom: Downloads start from beginning after interruption
Solution:
Make sure you are downloading to the same directory. The application looks for partial files in the output directory.
Platform-Specific Issues
YouTube Age-Restricted Videos
Symptom: Cannot download age-restricted content
Solution: Use cookies from a logged-in browser session
-
Install a browser extension to export cookies
-
Export cookies from YouTube
-
Use the cookies file:
Edit
config.json:{ "authentication": { "youtube": { "cookies_file": "/path/to/cookies.txt" } } }
Spotify Downloads Not Working
Symptom: Spotify URLs fail or download wrong song
Solutions:
-
The application searches YouTube for the song. If it finds the wrong one, try with more specific search:
umd "https://open.spotify.com/track/xxx" --verbose -
Set up Spotify API credentials for better metadata:
export SPOTIFY_CLIENT_ID="your_id" export SPOTIFY_CLIENT_SECRET="your_secret"
Instagram Downloads Failing
Symptom: Instagram posts return errors
Solutions:
-
Instagram requires login for some content. Use cookies.
-
Private accounts need authentication.
-
Try updating yt-dlp:
pip3 install -U yt-dlp
TikTok Videos Not Downloading
Symptom: TikTok URLs fail
Solutions:
-
Make sure the URL is the full URL (not shortened)
-
Try using the mobile URL format:
https://m.tiktok.com/... -
Update yt-dlp:
pip3 install -U yt-dlp -
TikTok frequently changes their site, updates help
-
If SSL errors occur, the handler will automatically try fallback methods
Adult Site Downloads Failing (Eporner, HQPorner, Beeg)
Symptom: Adult site URLs return SSL or connection errors
Solutions:
-
These handlers have built-in SSL bypass mechanisms
-
Try with verbose mode to see which fallback method works:
umd "URL" --verbose -
If issues persist, ensure you have the latest dependencies:
pip3 install -U requests urllib3 -
Some sites may require curl_cffi for better compatibility:
pip3 install curl_cffi
Twitter/X Videos Failing
Symptom: Twitter video URLs return errors
Solutions:
- Use the full tweet URL, not embedded video URL
- Some videos require authentication
- Update yt-dlp
4K Wallpapers Issues
No Wallpapers Found (0 results)
Symptom: The handler shows "0 wallpapers found" for a category or search
Solutions:
- The category slug in the URL may have changed. Try browsing via the interactive menu (
umd --wallpaper) instead of pasting a URL directly. - For search, ensure you are using simple keywords (e.g.
animenotanime+girl). - The site may be temporarily unavailable. Try again in a few minutes.
Cloudflare Challenge / Access Denied
Symptom: Wallpaper pages return very short responses or HTML challenge pages
Root Cause & Fix: This was a known bug (now fixed in v2.2.1) caused by passing browser emulation arguments to cloudscraper. If you still see this, ensure you are on the latest version:
git pull
pip install -r requirements.txt
Search Returns Only 24 Results
Symptom: Search only ever shows 24 wallpapers regardless of how many you request
Explanation: This is a site limitation. 4kwallpapers.com search pages are single-page only — no pagination is available for search results. Use a category or tag browse instead to get more wallpapers.
Downloads Fail or Return 404
Symptom: Individual wallpaper downloads fail with 404
Solutions:
- The wallpaper may have been removed from the site.
- Try downloading a different resolution from the same wallpaper.
- Re-fetch the listing (run the browse flow again) to get fresh links.
wallpaper / wp Command Not Recognized in Interactive Mode
Symptom: Typing wallpaper in interactive mode shows "URL not recognized"
Solutions:
- Make sure you are on v3.0.0 or later.
- Verify
four_k_wallpapers_handler.pyexists in thehandlers/directory. - Check for import errors by running
umd --wallpaperto see if there is a Python error.
Audio and Video Issues
No Audio in Downloaded Video
Symptom: Video plays but has no sound
Solutions:
-
The video might have been uploaded without audio
-
Try a different format:
umd "URL" --format mp4 -
Make sure FFmpeg is installed:
ffmpeg -version
FFmpeg Not Found
Symptom: Error about FFmpeg not being installed
Solution:
On macOS:
brew install ffmpeg
On Ubuntu/Debian:
sudo apt install ffmpeg
On Windows:
choco install ffmpeg
Audio Quality is Poor
Solutions:
-
Use higher quality settings:
umd "URL" --audio-only --format flac --audio-quality best -
The source might not have better quality available
-
Check available formats:
umd "URL" --show-formats
Metadata Not Embedded
Symptom: Audio files missing artist, title, etc.
Solution:
umd "URL" --audio-only --embed-metadata --embed-thumbnail
Cover Art Not Showing
Symptom: Audio files have no album art
Solutions:
-
Use the embed thumbnail option:
umd "URL" --audio-only --embed-thumbnail -
Make sure Pillow and Mutagen are installed:
pip3 install Pillow mutagen
Performance Issues
High Memory Usage
Solutions:
-
Download fewer concurrent items:
umd --batch-file urls.txt --max-concurrent 2 -
Download lower quality content
Slow Batch Downloads
Solutions:
-
Increase concurrency (if you have bandwidth):
umd --batch-file urls.txt --optimized-batch --max-concurrent 5 -
Make sure your internet connection is stable
Error Messages
"No Video Formats Found"
Meaning: The extractor could not find any downloadable video
Solutions:
- The video might be removed or private
- Geographic restriction
- Update yt-dlp
- Try verbose mode for more info
"HTTP Error 403: Forbidden"
Meaning: The server rejected the request
Solutions:
- Use cookies for authentication
- Wait and try later (rate limiting)
- Use a different IP (proxy/VPN)
"HTTP Error 429: Too Many Requests"
Meaning: You have been rate limited
Solutions:
- Wait before trying again
- Reduce concurrent downloads
- Use slower download settings
"SSL Certificate Error"
Meaning: SSL/TLS verification failed
Solutions:
-
The application usually handles this automatically
-
Try:
pip3 install --upgrade certifi
"Unsupported URL"
Meaning: The URL is not recognized
Solutions:
-
Check if the URL is correct
-
Check if the platform is supported:
umd --list-platforms -
Try the generic downloader by just running the command
Getting Help
Enable Verbose Mode
For detailed output, add --verbose:
umd --verbose "URL"
This shows:
- Exact HTTP requests
- Response details
- Error stack traces
- Processing steps
Check Application Version
umd --version
Check yt-dlp Version
pip3 show yt-dlp
Report a Bug
If you cannot solve the issue:
- Note your operating system and Python version
- Copy the full error message
- Note the URL you were trying to download (if not private)
- Create an issue at: Issues
Update All Dependencies
Sometimes updating fixes issues:
pip3 install -U yt-dlp
pip3 install -r requirements.txt --upgrade
Summary
Most issues can be solved by:
- Updating yt-dlp and other dependencies
- Using verbose mode to understand what is happening
- Checking URL validity and permissions
- Installing required external tools like FFmpeg
If problems persist, check the issues or create a new one with detailed information about your problem.