sources: factor out Source::URL::Nijie.

Also fixes the uploader uploading all images when trying to upload only a
single image in a multi-image work. Caused by `image_urls` incorrectly
returning all images when the source strategy was given a url for a
single image.
This commit is contained in:
evazion
2022-02-27 02:20:35 -06:00
parent 926a8fa81f
commit 317ec886bc
4 changed files with 159 additions and 115 deletions

View File

@@ -25,6 +25,7 @@ module Source
Source::URL::Lofter,
Source::URL::Mastodon,
Source::URL::Moebooru,
Source::URL::Nijie,
Source::URL::Newgrounds,
Source::URL::Plurk,
Source::URL::Skeb,