[Alt'tiRi]

Results 159 comments of [Alt'tiRi]

Try to use all headers which the browser adds. Not only `cookie` and `user-agent`. In particular `sec-fetch-*`, `sec-ch-ua-*`, `upgrade-insecure-requests` headers.

> Those are HTTP/2 Not only, they are send to any http**s** page independently is it `http/1.1`, or `h2`. ("Protocol" can be checked in DevTools, you need to enable the...

The bug is still exists with Git-Bash without enabled `Enable experimental support for pseudo consoles` option. (when `MSYS=disable_pcon` is instead of `MSYS=enable_pcon` in `/etc/git-bash.config` file) For example, download `https://www.hentai-foundry.com/pictures/user/personalami/scraps` (3...

With the default Git-Bash settings (so without `Enable experimental support for pseudo consoles` option): ```sh echo "MSYS=disable_pcon" > /etc/git-bash.config ``` `python -c "import sys; print(f'{sys.stdout.line_buffering = }\n{sys.stdout.isatty() = }')"` prints:...

Something like [Strategy pattern](https://en.wikipedia.org/wiki/Strategy_pattern) ```js const isFlushRequired = // ... function getStdWrite() { if (isFlushRequired) { return text => { process.stdout.write(text); process.stdout.flush(); }; } return text => { process.stdout.write(text); };...

Something wrong with console width detection ~now~: ![Screenshot](https://user-images.githubusercontent.com/16310547/176541300-b1dba613-09fb-4958-aa07-d86f9c54ab58.png) ![image](https://user-images.githubusercontent.com/16310547/176536859-69ca9b28-1ba6-4672-a6ed-a16d0df6e675.png) Hm, the old exe files work the same. Maybe I did note it before because I use 180 columns console width...

Hm, it works. I thought I already used monospaced font. For example, I usually use "**—**" as a separator for keys. In the screenshots above it is not long. Ah,...

Okay, just searched for you: https://github.com/mikf/gallery-dl/search?q=conditional It should be the answer: https://github.com/mikf/gallery-dl/issues/1394 ```json "directory": { "'R-18' in tags": ["[gallery-dl]", "[{category}][R-18] {user[id]}—{user[name]}"], "": ["[gallery-dl]", "[{category}] {user[id]}—{user[name]}"] }, "filename": "[{category}] {user[id]}—{id}—{user[name]}—{date:%Y.%m.%d}—{title}—{num}.{extension}", ```...

_The first_ 25 images, or 25 images total? With the "recent" Twitter changes it now requires to use an account to download NSFW media. You need to use the `"auth_token"`...

`/username` and `/username/media` is limited by ~1000 last posts as far I know. Download the result of "the search page" https://twitter.com/search-advanced. For example: `gallery-dl "https://twitter.com/search?q=from:username"`. --- Everything: https://twitter.com/search?q=from:vaha0121w4 ~From 2014-03-03...