Skip to content

Commit de85878

Browse files
authored
[update] fix User-Agent (#8836)
fixes regression introduced in a28fbbc
1 parent b1a708b commit de85878

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gallery_dl/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def items(self):
195195
url = f"{self.root_api}/repos/{path_repo}/releases/{path_tag}"
196196
headers = {
197197
"Accept": "application/vnd.github+json",
198-
"User-Agent": util.USERAGENT,
198+
"User-Agent": util.USERAGENT_GALLERYDL,
199199
"X-GitHub-Api-Version": "2022-11-28",
200200
}
201201
data = self.request(url, headers=headers, notfound="tag").json()

0 commit comments

Comments
 (0)