[util] rename 'USERAGENT' to 'USERAGENT_GALLERYDL'

This commit is contained in:
Mike Fährmann
2026-01-03 10:30:24 +01:00
parent e33a63231f
commit a28fbbc3c6
6 changed files with 6 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ class ZerochanExtractor(BooruExtractor):
per_page = 200
cookies_domain = ".zerochan.net"
cookies_names = ("z_id", "z_hash")
useragent = util.USERAGENT
useragent = util.USERAGENT_GALLERYDL
request_interval = (0.5, 1.5)
def login(self):
@@ -173,7 +173,6 @@ class ZerochanTagExtractor(ZerochanExtractor):
self.per_page = 24
else:
self.posts = self.posts_api
self.session.headers["User-Agent"] = util.USERAGENT
if exts := self.config("extensions"):
if isinstance(exts, str):