We will directly use the code from Reddit's source to do this.
Except, to avoid having to download and install PIL/Pillow, we will just scrape
the image url and display that instead of actually downloading the image.
We will also use Beautifulsoup to avoid the painful lxml install. This library was built for cleanliness and minimizing dependencies instead of speed & or being optimal!
We will directly use the code from Reddit's source to do this. Except, to avoid having to download and install PIL/Pillow, we will just scrape the image url and display that instead of actually downloading the image.
We will also use Beautifulsoup to avoid the painful lxml install. This library was built for cleanliness and minimizing dependencies instead of speed & or being optimal!