NEWS 10 KB

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