Commit Graph

3148 Commits

Author SHA1 Message Date
Mike Fährmann
4adc44df69 [furaffinity] improve metadata extraction (fixes #1630)
Fetch 'title' and 'artist' metadata from a different location,
since for posts with an empty title the <title> element is
completely empty and does not contain the artist's name.
2021-06-19 03:29:00 +02:00
Mike Fährmann
e98fa01c44 [hitomi] update image URL code (fixes #1637) 2021-06-18 16:44:22 +02:00
Mike Fährmann
e9ab97396f [kemonoparty] update default filenames and archive IDs (#1514)
Add an enumeration index so that attachments and regular files with the
same filename still get downloaded and not counted as duplicate files
(even though for patreon posts they usually are)

This invalidates all previously generated archive IDs.
To keep using old names and IDs, set
'filename' to "{id}_{title}_{filename}.{extension}" and
'archive-format' to "{service}_{user}_{id}_{filename}.{extension}".
2021-06-18 16:32:45 +02:00
Mike Fährmann
fb4b4725ba [hiperdex] match 'hiperdex2.com' URLs
still doesn't properly work due to Cloudflare CAPTCHA and IUAM page
2021-06-18 00:50:11 +02:00
Mike Fährmann
95bc1139e0 [instagram] update query hashes 2021-06-17 22:38:38 +02:00
Mike Fährmann
23018a46f6 [instagram] fix login (fixes #1631) 2021-06-17 22:28:42 +02:00
Mike Fährmann
cac0110d8b [redgifs] update API server address (fixes #1632)
napi.redgifs.com -> api.redgifs.com
2021-06-16 23:07:25 +02:00
Mike Fährmann
0d2961ae81 [500px] remove last query hash entry
forgot to include this in b56e2450
2021-06-16 23:00:45 +02:00
Mike Fährmann
7273cf8536 [pixiv] support fetching privately followed users (fixes #1628) 2021-06-16 19:56:09 +02:00
Mike Fährmann
e60962f7e5 [philomena] improve tag escapes handling (fixes #1629) 2021-06-16 18:47:08 +02:00
Mike Fährmann
d8908ca577 [unsplash] update collections URL pattern (fixes #1627) 2021-06-15 15:44:45 +02:00
Mike Fährmann
9ed13703cc [sankaku] handle empty tags (fixes #1617) 2021-06-14 16:20:10 +02:00
Mike Fährmann
b56e245094 [500px] update GraphQL queries
500px changed its method from query hashes to sending the entire query
string for every request.
2021-06-14 16:13:08 +02:00
Mike Fährmann
e9993451c3 remove Python version checks 2021-06-12 00:20:59 +02:00
Mike Fährmann
40eb8025cc require an argument for --clear-cache 2021-06-12 00:15:25 +02:00
Mike Fährmann
a751afdfb3 [twitter] change some defaults
- 'retweets' option: true -> false
- 'quoted' option  : true -> false

  i.e. disable downloading tweets from other user's timelines by default

- search directory:
    '["{category}", "Search", "{search}"]' ->
    '["{category}", "{user[name]}"]'

  i.e. change it to the same as other twitter extractors (#1308)
2021-06-11 21:26:11 +02:00
Mike Fährmann
4e4ca3c330 [deviantart] pin API version (#1611)
'/gallery/folders' in the newest version doesn't include subfolders.

It probably only needs the right query parameter to do so, but that
doesn't seem to be documented anywhere.
2021-06-11 00:19:44 +02:00
Mike Fährmann
d09bc5bd34 [subscribestar] improve attachment filenames (#1609) 2021-06-10 17:09:13 +02:00
Mike Fährmann
2986bf63bf [mangafox] update URL pattern (fixes #1608)
also accept non-numeric volume labels, e.g. vTBD
2021-06-10 14:56:59 +02:00
Mike Fährmann
53dab5c289 [mangadex] revert chapter handling (#1535)
Spawn a new ChapterExtractor for each individual chapter
instead of handling them directly with a MangaExtractor.

Doing it that way broke too many features like
--chapter-filter, --chapter-range, --zip, etc.
2021-06-09 21:54:40 +02:00
Mike Fährmann
def0148582 restructure code in PathFormat constructor 2021-06-08 18:05:07 +02:00
Mike Fährmann
84d2e64024 combine conditional filenames into filename option (#1394) 2021-06-08 18:00:06 +02:00
Mike Fährmann
1197ee2c20 [mangadex] add extractor for a user's followed feed (#1535) 2021-06-08 02:45:36 +02:00
Mike Fährmann
07c8adbd8b [mangadex] implement login with username & password (#1535) 2021-06-08 02:12:57 +02:00
Mike Fährmann
b93cbe6720 [postprocessor:zip] run 'finalize()' regardless of 'filter' (#1460) 2021-06-07 22:15:36 +02:00
Mike Fährmann
3e332eaf53 [mangadex] update to API v5 (#1535) 2021-06-07 01:29:42 +02:00
Mike Fährmann
ff8d0d7280 [postprocessor:metadata] ensure reliable tags order (fixes #1598) 2021-06-05 14:49:14 +02:00
Mike Fährmann
04f4f9badb [oauth] prevent exceptions when reporting errors (#1603) 2021-06-05 14:28:26 +02:00
Mike Fährmann
dfe1e09df0 add '-T/--terminate' command-line option (#1399) 2021-06-05 14:14:48 +02:00
Mike Fährmann
6ecb710a7f add '-P/--postprocessor' command-line option 2021-06-05 14:14:47 +02:00
Mike Fährmann
83fc4c1098 update post processor config capabilities
This change makes it possible to specify just the name of a post processor
in the "postprocessors" list instead of a dict with all of its options.
The options for it will then be taken from inside the "postprocessor"
block similar to "extractor", "downloader", or "output" blocks.

This makes it possible to for example override the default settings for
--write-metadata by specifying a custom "metadata" block, or to set a
custom post processor block ("cbz") and then use it by referencing just
its name in "postprocessors" lists.

{
    "postprocessor":
    {
        "metadata": {
            "name": "metadata",
            "event": "post",
            "filename": "{tweet_id|post_id|id}.json"
        },
        "cbz": {
            "name"       : "zip",
            "compression": "store",
            "extension"  : "cbz"
        }
    }
}
2021-06-05 14:11:16 +02:00
Mike Fährmann
4a747a31a3 [postprocessor:metadata] handle dicts in mode;tags (fixes #1598) 2021-06-04 22:37:43 +02:00
Mike Fährmann
a3bf878329 [idolcomplex] improve and fix pagination (#1601)
always rely on the 'next-page-url' value and its query parameters
2021-06-04 20:31:08 +02:00
Mike Fährmann
3cbbefd4ed support 'filter' option for post processors (#1460) 2021-06-04 18:23:32 +02:00
Mike Fährmann
4cf40434d7 initial support for conditional filenames (#1394) 2021-06-04 16:45:32 +02:00
Mike Fährmann
0abad8bc12 implement 'compile_expression()' 2021-06-03 22:34:58 +02:00
Mike Fährmann
e39c4633ba [cyberdrop] b64decode -> a2b_base64 2021-06-03 02:53:55 +02:00
Mike Fährmann
f3d692a378 improve docs for danbooru and e621 passwords (#1593, #1596) 2021-06-02 23:02:23 +02:00
Mike Fährmann
407627ec86 [foolfuuka] support 'archive.wakarimasen.moe' (closes #1595) 2021-06-02 15:45:43 +02:00
Mike Fährmann
78f89d2e61 [idolcomplex] fix pagination (closes #1594) 2021-06-02 15:32:46 +02:00
Mike Fährmann
f14a36cfc9 release version 1.17.5 2021-05-30 19:24:00 +02:00
Mike Fährmann
52052a0e1a [manganelo] update domain to 'manganato.com' 2021-05-28 17:59:21 +02:00
Mike Fährmann
c80b18a477 [weibo] extend 'retweets' option (closes #1542)
Setting 'retweets' to "original" will use metadata from the
original posts, and not from the retweeted ones.
2021-05-27 23:09:42 +02:00
Mike Fährmann
c0fa5058da [kemonoparty] actually add a 'type' metadata field (#1556) 2021-05-27 22:11:31 +02:00
Mike Fährmann
bb50e85795 [postprocessor:ugoira] optimize writing ffconcat files
collect all content in-memory first and
write everything with a single 'write()'
2021-05-27 21:48:30 +02:00
Mike Fährmann
5c18db5fab [postprocessor:ugoira] use 'concat' demuxer by default (#1550)
'image2' with nanasecond mtime timestamps doesn't work on Windows
2021-05-27 21:46:55 +02:00
Mike Fährmann
19a11fa11d [postprocessor:ugoira] use frame extension from filenames (#1550) 2021-05-26 23:14:32 +02:00
Mike Fährmann
74d97e6c6b [postprocessor:ugoira] add 'repeat-last-frame' option (#1550) 2021-05-26 15:13:11 +02:00
Mike Fährmann
be9547a5f3 [postprocessor:ugoira] use 'image2' demuxer (#1550)
Ensures exact frame timecodes with no duplicate frames.

Possible issues are the duration the last frame in an Ugoira with variable
frame durations is shown and insufficient timestamp precision of the
underlying file system (e.g. FAT32, ext3; works on ext4, tmpfs, NTFS).
2021-05-26 14:59:51 +02:00
Mike Fährmann
b8de0671e5 update description for 'instagram.include'
- add double quotes for "reels"
- add "tagged"
2021-05-26 14:59:34 +02:00