1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 20:22:36 +01:00
Commit Graph

3430 Commits

Author SHA1 Message Date
Mike Fährmann
688d6553b4
replace calls to print() with stdout_write() (#2529) 2022-05-19 17:09:24 +02:00
Mike Fährmann
cf16f9a407
[output] introduce 'stdout_write()' etc (#2529) 2022-05-18 18:29:07 +02:00
Mike Fährmann
86cbf485ab
[webtoons] extract real episode number (#2591)
The number from the 'episode_no' query parameter
got renamed to 'episode_no'.
2022-05-17 22:33:29 +02:00
Mike Fährmann
eeef9ccdc1
explicitly flush all writes to stdout (#2529) 2022-05-17 13:26:53 +02:00
Mike Fährmann
a96f9d29b5
create missing directories for archive files (#2597) 2022-05-17 12:57:01 +02:00
Mike Fährmann
82c1cc130b
[readcomiconline] update deobfuscation code (#2481) 2022-05-17 10:52:45 +02:00
Mike Fährmann
4005171db3
[pixiv] provide more metadata fields when option enabled (#2594) 2022-05-15 14:47:14 +02:00
Mike Fährmann
c8abb16c60
[mangahere] send Referer headers (#2592) 2022-05-15 14:41:16 +02:00
Mike Fährmann
3fd9249717
[mangafox] send Referer headers (#2592) 2022-05-15 14:41:16 +02:00
Mike Fährmann
90d28387ef
[instagram] detect empty story listings faster 2022-05-15 14:41:03 +02:00
Mike Fährmann
bd6ec5c352
[foolfuuka] match 4chan filenames (#2577)
introduce two new metadata fields:
- filename_media: original filename of file uploaded to 4chan
- timestamp_ms  : timestamp with millisecond precision (tim)
2022-05-15 14:39:54 +02:00
Mike Fährmann
6ca998fc2b
[postprocessor:ugoira] ensure target directory exists (#2576)
another bug created by 99cb2872 in combination with 'part-directory'
2022-05-11 15:08:17 +02:00
Mike Fährmann
d1bb7fae2d
remove 'exist_ok=True' argument from several os.makedirs calls
makedirs in those places is only meant to create missing directories,
anything should be considered an error
2022-05-11 15:04:47 +02:00
Mike Fährmann
9c8647a4fd
fix 'part-directory' (#2576)
bug introduced in 99cb2872
2022-05-10 15:55:39 +02:00
Mike Fährmann
feb470d19a
[shopifx] natively support a few more sites (closes #2089)
- chelseacrew.com
- michaels.com.au
- modcloth.com
- pinupgirlclothing.com
- raidlondon.com (loveraid.com)
- unique-vintage.com
2022-05-10 15:49:36 +02:00
Mike Fährmann
60f4d59b1e
[gelbooru_v01] remove 'tlb.booru.org' from supported domains
403 Forbidden
nginx

it is also no longer listed on https://booru.org/top
2022-05-10 12:23:05 +02:00
Mike Fährmann
6b6eb0b8f6
[lolisafe] implement 'domain' option (#2575) 2022-05-10 12:17:59 +02:00
Mike Fährmann
f3408a9d92
implement string literals in replacement fields
- either {_lit[foo]} or {'foo'}
- useful as alternative for empty metadata fields: {title|'no title'}
- due to using '_string.formatter_field_name_split()' to parse format
  strings, using certain characters will result in an error: [].:!
2022-05-09 23:49:33 +02:00
Mike Fährmann
d26da3b9e5
add pre-generated 'pattern' for supported BaseExtractor sites 2022-05-09 22:20:09 +02:00
Mike Fährmann
6ae3a5cdb0
[pixiv] make retrieving ugoira metadata non-fatal (#2562) 2022-05-08 20:05:38 +02:00
Mike Fährmann
aa2db7abeb
[cookies] cleanup (#1606)
- fix Popen.communicate() calls
- move and simplify _process_chrome_cookie() code
- remove random print() statement and config dict
2022-05-08 13:28:53 +02:00
Mike Fährmann
6742f3bc1e
implement --cookies-from-browser (#1606)
most of the code is adapted from yt-dlp's implementation
and *should* work the same.
2022-05-07 23:06:37 +02:00
Mike Fährmann
c4b9f7bab8
update functions working with cookies.txt files
- rename
  - load_cookiestxt -> cookiestxt_load
  - save_cookiestxt -< cookiestxt_store
- in cookiestxt_load, add cookies directly to a cookie jar
  instead of storing them in a list first
- other unnoticeable performance increases
2022-05-06 13:21:29 +02:00
Mike Fährmann
f190018e37
[mangasee] use randomly generated PHPSESSID cookie (#2560) 2022-05-05 19:35:32 +02:00
Mike Fährmann
4c47dfffdd
[instagram] report redirects to captcha challenges (#2543) 2022-05-05 13:18:24 +02:00
Mike Fährmann
99cb28724f
delay directory creation (#2461, #2474)
Only call os.makedirs() when an open() call
fails with a FileNotFoundError

Might cause errors with some post processors etc,
but for now I was unable to find any.
2022-05-04 17:42:53 +02:00
Mike Fährmann
4c8e28db82
avoid circular import in util.py 2022-05-04 17:42:37 +02:00
Mike Fährmann
4598d32370
[imgur] prevent exception for empty albums (closes #2557) 2022-05-04 17:34:50 +02:00
Mike Fährmann
435e9c5d2e
[vk] report errors for private albums (#2556) 2022-05-04 17:34:50 +02:00
Mike Fährmann
9adea93aef
[pixiv] updates to avatar/background extractors (#2495)
- add 'date' metadata to avatar/background files when available
  and use that in default filenames / archive ids
- remove deprecation warnings as their option names clash with
  subcategory names
2022-05-04 17:30:54 +02:00
Mike Fährmann
3e6aba05ab
[vk] add fallback for user ID extraction (#2535) 2022-05-03 13:42:45 +02:00
Mike Fährmann
61887c895b
implement 'output.colors' options (#2532) 2022-05-02 12:41:14 +02:00
Mike Fährmann
52b47c3cf9
[gelbooru_v01] add 'favorite' extractor (#2546) 2022-05-02 11:33:28 +02:00
Mike Fährmann
5b7423d14c
[vk] fix URLs for older photos (#2535) 2022-05-02 11:19:18 +02:00
Mike Fährmann
3346f58a2a
[twitter] use twMediaDownloader strategy for user URLs
- use media timeline + search for default user URLs like
  https://twitter.com/SCREEN_NAME
- fetches all/most media for the type of twitter URL that most users
  use with gallery-dl
- can be disabled by setting 'strategy' to any truthy value,
  like "timeline"
2022-05-02 09:03:35 +02:00
Mike Fährmann
84756982e9
[pixiv] implement 'include' option
- split 'user' extractor and its 'avatar' and 'background' options into
  separate extractors ('artworks', 'avatar', 'background')
- avatars can now be downloaded with
  https://www.pixiv.net/en/users/ID/avatar
  as URL and will use a proper archive key; similar for backgrounds
- options for the 'user' subcategory must be moved to 'artworks' to have
  the same effect as before
2022-05-02 09:03:35 +02:00
Mike Fährmann
d11e2191ae
[nijie] support /history_nuita.php listings (closes #2541) 2022-05-02 09:03:34 +02:00
Mike Fährmann
4aca29b7b4
[naverwebtoon] support (best)challenge comics (closes #2542)
and update URL pattern to match URLs without '.nhn'
2022-05-02 09:03:34 +02:00
Mike Fährmann
3e926bd465
[realbooru] fix extraction (fixes #2530) 2022-05-02 09:03:34 +02:00
Mike Fährmann
82eee72b39
[pixiv] update API interface
- start all endpoints with '/'
- use extractor.wait() for rate limit
- retry with while loop instead of recursion
- in case of error, write entire response to debug log
2022-05-02 09:03:34 +02:00
Mike Fährmann
1bc77efa02
[artstation] use "browser": "firefox" by default (#2527) 2022-05-02 09:03:13 +02:00
Mike Fährmann
a39e7b7366
[vk] handle photos without width/height info (fixes #2535) 2022-05-02 09:03:00 +02:00
Mike Fährmann
9e6c981388
replace '\f' in --filename arguments with form feed character
to make it easier to use special type format strings on command-line

(#2396)
2022-04-28 21:54:05 +02:00
Mike Fährmann
61afa973b7
use extended format strings for archive keys 2022-04-28 20:26:12 +02:00
Mike Fährmann
1c95530525
release version 1.21.2 2022-04-27 22:53:18 +02:00
Federico Ravasio
0381752575
[photovogue] switch to .com, update api endpoint (#2494) 2022-04-27 22:37:53 +02:00
Mike Fährmann
3f02e483c6
[e621] fix applying request_interval_min (#2533)
Setting this property after calling Extractor.__init__() has no effect.
2022-04-27 21:10:34 +02:00
Mike Fährmann
ca3a364db7
fix build_duration_func() (#2533)
for extractors with request_interval_min > 0
2022-04-27 20:28:14 +02:00
Mike Fährmann
afde76269c
[weibo] fix infinite retries for deleted accounts (fixes #2521) 2022-04-27 20:23:11 +02:00
Mike Fährmann
d85e66bcac
[vk] fix extraction (#2512)
Use a different API endpoint, since thumbnail URLs from the old one
cannot be transformed into URLs for "original" photos anymore.
2022-04-21 14:01:50 +02:00