Fix file path of deduplicated images for 8ch#114
Fix file path of deduplicated images for 8ch#114lstyrtmrnbd wants to merge 1 commit intomiku-nyan:masterfrom
Conversation
|
Solving 8chan specific issue in the abstract base class isn't the best solution. What if some other chan changes its image urls too? I suggest you isolate the url construction in another method in |
|
That does seem a cleaner solution, I'll try to get to it when I'm able |
|
The thumbnails are not always jpg, for example this thread
The op image ends in Is there a way to get the correct thumb extension? Edit: @ctrlcctrlv you mentioned here #4 that the thumb extension matched the original file format before a certain date, do you know that date? Edit: I looked at Everychan's source and the .jpg extension only applys to videos and tims whose length is not 64 |
Checks length of
timparameter to determine location of image and image thumbnail