[weasyl] Set gallery-dl user agent to match danbooru user agent, when making weasyl requests.

To fit with their bot ettiquette: https://projects.weasyl.com/bot-etiquette
This commit is contained in:
Deer-Spangle
2025-04-24 10:04:24 +01:00
parent c3fb0f53ee
commit db89f4a545
2 changed files with 3 additions and 2 deletions

View File

@@ -661,7 +661,7 @@ extractor.*.user-agent
Type
``string``
Default
* ``"gallery-dl/VERSION"``: ``[Danbooru]``, ``mangadex``
* ``"gallery-dl/VERSION"``: ``[Danbooru]``, ``mangadex``, ``weasyl``
* ``"gallery-dl/VERSION (by mikf)"``: ``[E621]``
* ``"Patreon/72.2.28 (Android; Android 14; Scale/2.10)"``: ``patreon``
* ``"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/LATEST.0.0.0 Safari/537.36"``: ``instagram``