Documentation ¶
Overview ¶
main logic: determine images from post first, check redis records, if there is a image link for this post, return directly otherwise, check post content, try to extract images from post, get the first large image ( w > 480 && h > 320 ) then, if there is no image that is good enough, select one from Bing Wallpaper at last, save the post link & image link to redis
Click to show internal directories.
Click to hide internal directories.