Skip to content

Commit

Permalink
update version and changelog, move option �iDisplayFewer to Pixiv sec…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Nandaka committed Jan 2, 2023
1 parent 7a82fd9 commit 2799326
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PixivConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ class PixivConfig():
ConfigItem("Pixiv", "r18Type", 0), # Issue #439
ConfigItem("Pixiv", "dateFormat", ""),
ConfigItem("Pixiv", "autoAddMember", False),
ConfigItem("Pixiv", "aiDisplayFewer", False),

ConfigItem("FANBOX", "filenameFormatFanboxCover",
"FANBOX %artist% (%member_id%)" + os.sep + "%urlFilename% - %title%",
Expand Down Expand Up @@ -216,7 +217,6 @@ class PixivConfig():
ConfigItem("DownloadControl", "enablePostProcessing", False),
ConfigItem("DownloadControl", "postProcessingCmd", ""),
ConfigItem("DownloadControl", "extensionFilter", ""),
ConfigItem("DownloadControl", "aiDisplayFewer", False),
ConfigItem("DownloadControl", "downloadBuffer", 512, restriction=lambda x: int(x) > 0),
]

Expand Down
2 changes: 1 addition & 1 deletion PixivConstant.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

PIXIVUTIL_VERSION = '20221029'
PIXIVUTIL_VERSION = '20230102'
PIXIVUTIL_LINK = 'https://github.com/Nandaka/PixivUtil2/releases'
PIXIVUTIL_DONATE = 'https://bit.ly/PixivUtilDonation'

Expand Down
25 changes: 25 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
20230102
- Implement #1191: add wait between search API
- Implement #1187: Handle OSErrors in a cleaner way
- Implement #1176: Failed ugoira conversions counted as successful downloads
- Implement #439: Have options to download both R-18/18G or one over other
Add new config `r18Type` with value `0` = both R18 and R-18G, `1` = only R18, or `2` = only R18G
- Merge fixs socks5 `getaddrinfo`&dns leak, and enable auth (#1195) by @NewUserHa
- Merge Optimize visual quality of converted ugoira (#1198) by @NewUserHa
- Merge Enhance document (#1197) by @NewUserHa
- Merge fix: infofile add extension name first (#1203) by @神楽坂みずき
- temp fix? #1209, you also need to change the user agent to 'Mozilla/5.0' only in config.ini
- Merge get rid of useless checks to speed up the download, if image not exists at all. (#1201) by @NewUserHa
Also Fix #1206: Update retry logic for incomplete download.
- Merge Add the unused configuration option "extensionFilter" to the app. (#1217) by @Terryble2
- Merge Don't process member page if it's in blacklist_member.txt (#1208) by @NewUserHa
- Merge Update readme.md (#1202) by @NewUserHa
- Merge Add mkv ugoira packing without encoding (#1218) by @PatrickL546
- Merge Update to python 3.11 for faster startup for docker (#1199) by @NewUserHa
- Implement #1216, set useTranslatedTag = True in config.ini to enable
- Merge fix: remove trim `_pxx` (#1204) by @ミズキ
also add logic to only trim p_xx for image info when image mode == manga / multi images
- Implement #1189, set `aiDisplayFewer=True` in config.ini to enable.
- Add configurable download buffer in config.ini
- Add color to ui for download by image and by member.

20221029
- Merge Fix issue with fanbox coverImageUrl (#1181) (#1185) by @KamenReader
- Update #1184: fix .gitignore for venv.
Expand Down
19 changes: 17 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,22 +339,31 @@ Please refer run with `--help` for latest information.
- numberofpage

Number of page to be processed, put `0` to process all pages.

- r18mode

Only list images tagged R18, for member, member's bookmark, and search by tag. Set to `True` to enable.

- r18Type

0: All; 1: R18; 2: R18G
Allow filtering for R-18 type (R-18 or R-18G)
Set `r18Type` with value `0` = both R18 and R-18G, `1` = only R18, or `2` = only R18G

- dateformat

Pixiv DateTime format, leave blank to use default format (YYYY-MM-DD).
Refer to http://strftime.org/ for syntax. Quick Reference:
- %d = Day, %m = Month, %Y = Year (4 digit)
- %H = Hour (24h), %M = Minute, %S = Seconds

- autoAddMember

Automatically save member id to db for all download.

- aiDisplayFewer

if true, filter out AI-generated images from downloading.

## [FANBOX]
- filenameFormatFanboxContent

Expand Down Expand Up @@ -620,12 +629,18 @@ Please refer run with `--help` for latest information.
- postProcessingCmd

command to execute. add %filename% to pass the downloaded filename.
NO ERROR HANDLING AT ALL, use on your own risk.
**NO ERROR HANDLING AT ALL, use on your own risk.**

- extensionFilter

Provide a | seperated list of acceptable file extensions to download. Eg. jpg|png|gif|ugoira

- downloadBuffer

Download buffer before it write to disk in kiloByte, default is 512kB.
You can change it based on your download speed. Mainly useful for smoother progress bar.
Usually no need to change this value.


## [FFmpeg]
- ffmpeg
Expand Down

0 comments on commit 2799326

Please sign in to comment.