Enable webp

This commit is contained in:
blankie 2023-04-28 15:12:50 +07:00
parent 7ecbb7f8bc
commit 14a08e4937
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
PixivClient::PixivClient() {
this->_www_pixiv_net_client.set_keep_alive(true);
this->_www_pixiv_net_client.set_default_headers({
{"User-Agent", "Mozilla/5.0 (Android 12; Mobile; rv:97.0) Gecko/97.0 Firefox/97.0"}
{"User-Agent", "Mozilla/5.0 (Android 12; Mobile; rv:97.0) Gecko/97.0 Firefox/97.0"},
{"Cookie", "webp_available=1"}
});
}