NEWS 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. 2024.12
  2. Released 2024-12-31
  3. Squeezing in one last release before the new year! The main "new feature" in
  4. this version is the converter plugin system. When downloading an Ugoira,
  5. pixiv_down uses an external library to generate the GIF file. The libraries
  6. have previously been restricted to using GraphicsMagick or ImageIO (depending
  7. on your OS).
  8. This version introduces a shared API that can be used to communicate between
  9. an external library and pixiv_down. This means that you can create your own
  10. converter plugin, using your language and library of choice, to create GIFs!
  11. (So long as your language can export functions using C linkage!)
  12. The default converters are still GraphicsMagick and ImageIO, but I have
  13. also developed a converter that uses libvips (https://www.libvips.org). I
  14. would recommend using this on macOS, as it seems to generate better quality
  15. GIFs.
  16. https://codeberg.org/supercell/pd_vips_converter
  17. 2024.10
  18. Released 2024-10-27
  19. Nothing too fancy in this release, the main difference is that the 'daily'
  20. command no longer requires an end date (--end) after you have run it for the
  21. first time. It will store the date you run the command and use it as the end
  22. date for the next run.
  23. The 'following' command has seen a couple of changes, such as better progress
  24. reporting when retrieving the accounts, but it will also now enforce either the
  25. '--public' or '--private' flag. This was always been the case, but if you ran
  26. the 'following' command with the '--skip' argument, it would start the download
  27. as if the '--public' flag had been specified.
  28. The last notable change is in the build systems. I'm going to remove the
  29. autotools-based build system (./configure && make) in the next release. The
  30. reason for this is that it doesn't support D very well, and improving it to
  31. work "better" (not good, but better) would require more work than
  32. I'm willing to put in.
  33. There are two new build systems that can be used: meson and scons. You can
  34. read more about how to use them in the INSTALL file.
  35. 2024.09
  36. Released 2024-09-24
  37. This version introduces a new '-f, --force' flag for both the 'artwork' and
  38. 'daily' commands. This new flag tells pixiv_down to overwrite any previously
  39. existing download of the work. It will ignore any partial downloads for the
  40. work as well.
  41. The 'bookmarked' command also received a new options as well.
  42. '--remove-from-file' option allows you to specify a file that contains a list
  43. of IDs to remove from your bookmark list. Usually, this is the file that is
  44. created when running the 'bookmarked' command.
  45. A new configuration option was added for the '[bookmarked]' section:
  46. 'always_remove_invalid'. An example of what this looks like is shown in the
  47. pixiv_down-bookmarked(5) man page.
  48. There have been some changes around the build system again. Instead of the
  49. configure script being a Ruby script, it is now normal shell script generated
  50. by autoconf. This change was driven by a want to build pixiv_down using the
  51. GNU Guix package manager, which also involved fixing issues when building with
  52. D 2.076.1.
  53. There have also been some bug fixes, namely invalid image files being
  54. downloaded (due to a recent change with pixiv).
  55. 2024.07
  56. Released 2024-07-21
  57. This version doesn't introduce any new features, however, it does fix a couple
  58. of bugs that you may have experienced, such as an endless loop when running the
  59. 'daily' command, invalid GIFs being generated, and the '--skip-novel' flag not
  60. working when running the 'artist' command.
  61. The only other notable change is that the message shown when downloading using
  62. the 'artist' command has been adjusted for instances when there are no works to
  63. download.
  64. 2024.05
  65. Released 2024-05-31
  66. A couple of new command line options have been added:
  67. --output-directory and --config-file
  68. These two new flags provide a way to override options that you've set in your
  69. configuration file for this command.
  70. A prompt has also been added when running the 'compact' command and the account
  71. ID no longer exists (probably because it's been deleted). The prompt choices
  72. are based off of currently existing directory names, so you can choose any of
  73. them.
  74. Something that you hopefully shouldn't notice when running pixiv_down, is that
  75. there has been a removal of a dependency that was used for creating GIFs.
  76. Since the beginning, pixiv_down has used a library called GraphicsMagick, which
  77. is an *awesome* program and library that allows you to do lots of cool stuff to
  78. your images. To make use of GraphicsMagick, pixiv_down was using a library I
  79. developed to access the GraphicsMagick library from the D programming language,
  80. this was called 'magickd'.
  81. I have removed the 'magickd' dependency, and instead make direct use of the
  82. GraphicsMagick shared library that is installed on your machine when installing
  83. GraphicsMagick. Again, this shouldn't change anything for you, but reduces my
  84. work :-)
  85. 2024.04
  86. Released 2024-04-20
  87. macOS is now supported!
  88. In previous versions, there were errors preventing pixiv_down from compiling on
  89. macOS. These errors have been addressed by implementing the missing features.
  90. There is also a new 'bookmarked' command that allows you to download all the
  91. works that you have bookmarked. Simply running 'pixiv_down bookmarked' and all
  92. your "public" bookmarks will be downloaded. You can add the '--private' flag
  93. which will download all of your "private" bookmarks. For more info, run
  94. 'pixiv_down help bookmarked'.
  95. pixiv_down now reads a new environment variable: PIXIV_DOWN_SESSID. This will
  96. determine your session ID when running pixiv_down. It takes precedence over
  97. your session ID set by 'pixiv_down reset'.
  98. The default file name for your configuration settings has changed from
  99. 'pixiv_down.conf' to 'settings.conf'. The previous name is still supported.
  100. Documentation has also seen an improvement. There are now man pages for each
  101. of the commands that pixiv_down provides. You can run 'man pixiv_down 1' to
  102. see the general usage of pixiv_down, along with all the sub-command page names
  103. as well. There is also a man page for the configuration file, which can be
  104. read by calling 'man pixiv_down.conf 5'.
  105. Finally, there has been some changes to the build system. If you use dub, then
  106. there are no changes for you.
  107. There is a new 'configure' script, written in Ruby (yes!), that handles any
  108. platform-specific quirks when building pixiv_down using 'make'. All you should
  109. need to do is run './configure' and a Makefile will be created for your
  110. operating system.
  111. This new configure script supports a few environment variables, that will
  112. influence the output:
  113. DC:
  114. The D compiler to use (on macOS, only dmd is supported).
  115. DFLAGS:
  116. Specify any custom flags to be passed to the D compiler
  117. LDFLAGS:
  118. Specify any custom linker flags to be passed to the linker.
  119. For example: -L/usr/local/lib
  120. LIBS:
  121. Specify any custom libraries to be passed to the linker.
  122. For example: -lGraphicsMagick
  123. 2024.02
  124. Released 2024-02-03
  125. As pixiv_down is starting to mature as a program, some of the default options
  126. and behaviours have been changed from the initial version. In addition, some
  127. of the option names have been changed to better express their intent. Please
  128. read the summary in each section below to understand what has changed.
  129. Generally speaking, all of the help messages have been re-written to be more
  130. helpful and provide examples. When downloading works, they progress is shown
  131. by a progress bar. Any works that get interrupted when downloading can be
  132. resumed by running the same command (in other words, partial downloading).
  133. You can now reset your "PHPSESSID" token via the command-line with the 'reset'
  134. command. And finally, you can now download novels.
  135. Originally, the 'artist' command only downloaded illustrations by default, you
  136. had to specify manga with the '--type' option resulting in two separate runs.
  137. This has been changed, now pixiv_down will download illustrations, manga, and
  138. novels by default. (The '--type' option still exists to limit which work type
  139. to download.) You can also specify multiple artist IDs at once to download
  140. multiple artists in a single run. When downloading a single artist, you can
  141. also choose to skip any number of illustrations, manga, or novels by using the
  142. '--skip-illust', '--skip-manga', and '--skip-novel' options.
  143. The 'artwork' command has received a new option: '--group-errors'. When used,
  144. it will collect any errors that occur when downloading multiple artworks, and
  145. print them all out at once at the end. The default behaviour of 'artwork' is
  146. to print out errors after each artwork.
  147. The 'daily' command has received a new option: '--sfw-only'. When used, only
  148. content that is not marked as R-18 is downloaded.
  149. The 'following' command has received a couple of changes. First, you must now
  150. specify either '--public' or '--private' when running. This tells pixiv_down
  151. which list you want to download from. Previously, not specifying '--private'
  152. would download the accounts you publicly follow. The '-o, --offset' option has
  153. been renamed to '-s, --skip' as this might make it easier to understand (skip
  154. the first X number of works). Finally, the '-l, --limit' option has been
  155. removed. This may return, but with a different meaning.
  156. There is a new command called 'compact'. When downloading works, pixiv_down
  157. creates a directory for an account ID and display name pair
  158. (for example, 0000000_displayName), making it easier to navigate all the
  159. artists you've downloaded from. This works fine, until the account owner
  160. changes their display name, as this causes pixiv_down to create another
  161. directory.
  162. The 'compact' command allows you to compact all of those "duplicate"
  163. directories in to one directory per-account. There are two options for this
  164. command:
  165. * '-i, --interactive' which allows you to choose the name to use for the new
  166. directory.
  167. * '-n, --dry-run' which will print out all of the changed that *would* happen
  168. but doesn't actually make those changes. Your files remain untouched.
  169. In line with the 'compact' command, there is another new command: 'prune'.
  170. When you stop following an account on pixiv, pixiv_down doesn't know that. All
  171. the directories that exist for the account will remain on disk, using space.
  172. The 'prune' command allows you to sort through all the accounts you don't
  173. follow, or have been deleted, and prompt you to remove them. The options for
  174. this command are:
  175. * '-q, --quiet' which will remove the directories without prompting.
  176. * '-n, --dry-run' which will list all the directories without actually
  177. removing them.
  178. Finally, there is the new 'novel' command. The 'novel' command allows you to
  179. download novels by using their ID. There is only one flag for this command,
  180. '--group-errors', which causes pixiv_down to collect all the errors that
  181. occur when downloading novels, and print them out at the end. The default
  182. behaviour is to print errors as they occur.