I don't know when/why this happens and for private account reasons can't
add an example here, but i had this error out and it feels like a safe
fix to default to `0` here.
- handle 快转 retweets
- disable 'retweets' by default
- skip all retweet media when 'retweets' are disabled
- extract all retweet media when 'retweets' is set to "original"
Around October 2010, the image server URL format and file name
encoding changed from EUC-KR to UTF-8.
Modified to detect old URL format and decode image URLs into EUC-KR
- (lint with flake8) Customize conditions
Wrap lines smaller than 79 characters
- (lint with flake8) Customize conditions (2nd try)
- One import per line
- Indent on consecutive lines
- (lint with flake8) Customize conditions (3rd try)
- E128 continuation line under-indented for visual indent
- E123 closing bracket does not match indentation of opening bracket's line
- Update naver.py
Check encoding for all image URLs
- run on every push to master
- build images from GitHub source instead of PyPI package
- build arm64 image (#5227)
- include more tags
- build date as 'YYYYMMDD'
- 'dev' for most recent build from master
- 'latest' for most recent release build
- add LANG=C.UTF-8
(better utf-8 support or so I heard)
- restructure RUN commands to be more easily extendable and have
simpler git diffs
- swap 'apk' and 'pip' since 'apk' results are more likely to be stable
and therefore cacheable
- disable Python bytecode caching with -B
- reduces image size by 10Mb
- bytecode for explicitly installed packages (gallery-dl, yt-dlp,
dependencies) is still cached
- add some (hopefully) helpful command-line arguments to pip
[Imagefap] Add "folder" metadata when downloading a folder or user profile.
No additional request is made to the server.
Use for example with the following configuration :
"parent-metadata": true
"directory":["{category}", "{uploader}", "{folder}", "{gallery_id} {title}"]
… when using 'comments-avatars'
This also has the added benefit of making it possible to download
comment avatars from users without a valid user profile entry,
like deleted users.