Commit Graph

7418 Commits

Author SHA1 Message Date
Mike Fährmann
e604c22812 [imagehost] improve 'filename' & 'extension' handling 2025-11-04 18:04:48 +01:00
Mike Fährmann
7ed04d830e [postimg] force 'postimg.cc' domain (#8505) 2025-11-04 18:02:25 +01:00
Mike Fährmann
5591a16cd7 [formatter] add 'Lb' format specifier - 'L' for bytes 2025-11-03 13:36:55 +01:00
Mike Fährmann
91a5fd85db [formatter] add 'Xb' format specifier - 'X' for bytes (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3479362186
2025-11-03 12:41:20 +01:00
Mike Fährmann
0ecc1b6ead [pp:metadata] document '"mode": "print"'
4052068d5a
2025-11-01 19:48:32 +01:00
Tim Wicinski
e174d4fae5 [cyberdrop] update domain to 'cyberdrop.cr' (#8496)
* added cr to list of cyberdrop TLDs
* update
- example URLs
- tests
- supportedsites

---------

Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
2025-11-01 18:22:10 +01:00
Mike Fährmann
37aa7337dc [text] reject long filename extensions (#8491)
fixes regression introduced in 3252ead7c7
ref bc868e7bb8
2025-11-01 10:35:33 +01:00
Mike Fährmann
3848a912dc [path] treat broken symlinks as existing files (#8490) 2025-11-01 10:01:45 +01:00
Mike Fährmann
a3734e2e56 [path] improve 'exists()' performance
call 'os.stat()' directly
2025-11-01 10:01:06 +01:00
Mike Fährmann
7571ca9671 [patreon] add 'order-posts' option (#7856 #8482) 2025-10-30 19:51:43 +01:00
Mike Fährmann
2194dde9ea [itaku] add 'order' option 2025-10-30 19:51:04 +01:00
Mike Fährmann
20bca3f2e4 [imagehosts] add and use 'not_found()' method 2025-10-29 11:55:11 +01:00
Mike Fährmann
62e9d75611 [common] fix 'AttributeError'
fixes regression introduced in 98d3354575
2025-10-29 11:38:26 +01:00
Mike Fährmann
d7a7557f93 [imagevenue] improve error for dead images (#8477) 2025-10-29 11:32:03 +01:00
Mike Fährmann
f692380950 [imagebam] fix 'filename' & 'extension' for names without ext (#8476) 2025-10-29 11:27:52 +01:00
Mike Fährmann
5ab0c6051b [imgbox] match direct links (#8474) 2025-10-28 17:43:43 +01:00
Mike Fährmann
fb9be55232 [paheal] fix 'AttributeError'
fixes regression introduced in 98d3354575
2025-10-28 17:43:43 +01:00
Mike Fährmann
8fabf7c114 [shimmie2] support 'soybooru.com' (#8467) 2025-10-28 17:43:43 +01:00
Mike Fährmann
3573dcbff9 [fanbox:creator] add 'offset' option (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3456132723
2025-10-28 17:43:43 +01:00
Mike Fährmann
92be3fb911 [cyberfile:folder] support subfolders (#8323)
https://github.com/mikf/gallery-dl/issues/8323#issuecomment-3366857916

add 'recursive' option
2025-10-28 17:43:42 +01:00
Mike Fährmann
c0e665e3db [cyberfile] add 'shared' extractor (#8323)
https://github.com/mikf/gallery-dl/issues/8323#issuecomment-3366857916
2025-10-28 17:43:42 +01:00
Georgi Karadzhov
caa76e071e [instagram] extract 'subscription' metadata for story/highlight items (#8459) 2025-10-24 17:32:51 +02:00
PrivateAccount85642650
481bf1e393 [realbooru] fix 'tags' for video posts (#8455)
* fix realbooru tags for video posts
* fix lines too long
* combine 'tags' and 'tags_<category>' extraction
    - extract tag categories independent of 'tags' option
* add 'video' & 'animated GIF' tests

---------

Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
2025-10-24 11:33:29 +02:00
Mike Fährmann
68909724e7 [wikimedia] restrict default 'format' to fandom/wikigg (#5512)
eefd8f9c00 (commitcomment-168635597)
2025-10-23 20:56:34 +02:00
Mike Fährmann
5e1862871e [wikimedia] provide 'lang' metadata (#7283) 2025-10-23 20:42:45 +02:00
Mike Fährmann
da4b8c1e83 [wikimedia] fix 'limit' config lookup
rework config handling in general
2025-10-23 20:16:46 +02:00
Mike Fährmann
98d3354575 [wikimedia] implement config lookup for fandom/wikigg sites (#7283)
{
    "extractor": {
        "fandom": {
            "filename": "..."
        }
    }
}
2025-10-23 20:14:56 +02:00
Mike Fährmann
eefd8f9c00 [wikimedia] add 'format=original' to file URLs (#5512)
add 'format' option
2025-10-22 20:16:21 +02:00
Mike Fährmann
df1b6204c6 [e621] add 'artist' & 'artist-search' extractors (#8448) 2025-10-22 10:33:52 +02:00
featherbutt
06e3126bba [pp:metadata] add 'newline' option (#8439)
* Add configuration setting to control newline characters in metadata.
* update docs/configuration
* introduce 'open()' method
* add 'newline' test
2025-10-21 18:47:39 +02:00
Mike Fährmann
3deb5a413d improve arguments for relative '__import__()'
using None for 'fromlist' is slightly faster than an empty tuple
2025-10-21 12:06:50 +02:00
Mike Fährmann
d7c97d5a97 use f-strings when building 'pattern' 2025-10-20 21:23:11 +02:00
Mike Fährmann
9bf76c1352 replace 'util.re()' with 'text.re()'
remove unnecessary 'util' imports
2025-10-20 17:44:58 +02:00
Mike Fährmann
c8fc790028 merge branch 'dt': move datetime utils into separate module
- use 'datetime.fromisoformat()' when possible (#7671)
- return a datetime-compatible object for invalid datetimes
  (instead of a 'str' value)
2025-10-20 09:30:05 +02:00
Mike Fährmann
ed8fe07f92 [tests/formatter] update results 2025-10-20 09:19:47 +02:00
Mike Fährmann
c38856bd3f [dt] use 'parse_datetime_iso()' for ISO formats 2025-10-19 21:52:05 +02:00
Mike Fährmann
5802107cdf [dt] update representation of invalid datetime objects 2025-10-19 18:51:42 +02:00
Mike Fährmann
989136bc59 [dt] replace 'parse_compat' with compat workaround 2025-10-19 18:26:32 +02:00
Mike Fährmann
f9a8598f35 [weibo] add 'text' option (#8422) 2025-10-19 12:05:27 +02:00
Mike Fährmann
11ccadfd8c [schalenetwork][hdoujin] re-implement 'cbz' option (#8431) 2025-10-18 21:22:49 +02:00
Mike Fährmann
9ad937a982 [kemono] use f-strings 2025-10-18 20:33:44 +02:00
Mike Fährmann
238d0973f7 [twitter] fix "KeyError - 'source_id'" with disabled 'transform' (#8429) 2025-10-18 19:39:24 +02:00
enduser420
e2fb2c009c [reddit] support comment share link (#8434) 2025-10-18 18:41:23 +02:00
Mike Fährmann
6c71b279b6 [dt] update 'parse_datetime' calls with one argument 2025-10-17 22:49:41 +02:00
Mike Fährmann
555ac2dcfa [civitai] add 'sort' & 'period' options (#8426) 2025-10-17 20:29:10 +02:00
Mike Fährmann
4072687b0b [pixhost] force '.to' TLD (#8428) 2025-10-17 18:12:45 +02:00
Mike Fährmann
085616e0a8 [dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()' 2025-10-17 17:43:06 +02:00
Mike Fährmann
d57dc48dcd [tests/results] replace 'datetime' usage
test for 'dt:…' to catch NullDatetime instances,
which inherit from 'datetime.datetime' but are not exactly this class
2025-10-17 17:06:39 +02:00
Mike Fährmann
e42030a3a6 [twitter] fix 'KeyError' for "temporarily unavailable" users (#8423) 2025-10-16 15:50:48 +02:00
Mike Fährmann
69f7cfdd0c [dt] replace 'datetime' imports 2025-10-16 11:42:42 +02:00