Digital artwork downloader for deviantart.com, commons.wikimedia.org and sexstories.com
Features
General
- Get URLs from plain text list
- Output attribution information in terminal (source URL, author, lincense)
Deviantart
- Work directly with artwork, favorite or gallery URLs
- Filter out proprietary artwork (no creative commons)
- Filter by type (image, story)
- Filter by safety status (all, adult, non-adult)
- Get URLs via search query
- Cookie support for mature content
WikiMedia Commons
- Download videos, animated gifs and image
- Rewrite URLs
Sexstories.com
- Story extraction via site parsing
- Rewrite URLs
How Deviantart gets accessed
- RSS API (search, gallery, favorite)
- oEmbed API (filters, image extraction)
- Parsing the site (gallery folders, story extraction)
Cookies
- Place
cookies.txtin working directory or give a full path with--cookies - Specify cookies in
daloader.inior give a path with--ini
Example
./daloader.py --query "pepper carrot" --cc-only yes > attribution.md
./daloader.py --query "wallpaper in:photography/abstract" > attribution.md
./daloader.py --url https://www.deviantart.com/deevad/gallery/31863052/Comic-Pepper-Carrot --cc-only y --cookies /tmp/cookies-deviantart-com.txt > attribution.md
More information for query syntax at deviantart
Example scripts with further processing of the output in examples/
Installation
Linux
Install Python
Debian / Ubuntu
# apt-get install python3 python3-pipArchLinux / Manjaro
# pacman -S python python-pipGet all dependencies
# pip3 install requestsWindows
Install Python
Get chocolatey
Install via administrator terminal (Windows PowerShell or ConsoleZ)
# choco install python3Getting all dependencies
After installing python you have to restart your terminal, then again with administrator rights do
# pip3 install requests