Python/Selenium based utility in Python, to download pictures and videos offline.
Install Python 3.9 or Higher.
Run this in your Command Prompt or Terminal:
python -m pip install himama
Depending on which Operating System you use, the command could either be
python3
or even python3.9
.
Now download and install a supported WebDriver. Currently it tries to use:
- Mac - Safari Driver
- Windows - Edge Driver
- All - Firefox Gecko Driver
- All - Chrome Driver
- All - Opera Driver
If you are running Linux, there may already be a package for your system. You may want to install it through your package manager.
To Download, run:
himama
To run non-interactively such as a Cron Script, set these variables in your environment.
set HIMAMA_USER=daddy@daddy.com
set HIMAMA_PASSWORD=changeMe
This typically needs a non-headless mode, a virtual display to run at least.
I wrote this in my spare time. All feedback and patches welcome.
Not every WebDriver is expected to work well over a period of time, and level of support may vary from time to time. Moreover, the site could keep getting updated and break some of the existing mechanisms. If you find issues, please file it.