-
Fix downloading of HD profile pictures (#209)
Unfortunately, it is now required to be logged in to access the HD version of profile pictures. When attempting to download profile pictures without --login, a warning message is printed once, and the lower-quality versions are obtained.
For backwards compatibility, already-downloaded profile pictures are overwritten if the now-obtainable version is assumed to be of better quality than the existing one (determined by file size vs Content-Length).
-
Fix rare KeyError when downloading profile pictures that don't have a Last-Modified header (#188)