Simple console app to download and display memes from a popular mem website kwejk.pl
- Libcurl used to get website's HTML and download images.
- OpenCV used to display images.
- CMake 3.22 or higher
Make sure to have these libraries installed:
-
libcurl
$ sudo apt-get install libcurl4-gnutls-dev
-
OpenCV
Create a build directory in the project folder
mkdir build
Go inside
cd build
Run cmake and point to the parent directory
cmake ..
Run make
make
Run program
./MemLoader-cpp
After running, application instructs us what to do next.
Firstly we are asked to choose a category using 1-6 numbers.
Using ENTER we go next.
We can choose if we want to display images or no. If yes, when first image is displayed we switch to the next one using any key on the keyboard.
At the end all downloaded images are in our project's directory.