Skip to content

Commit

Permalink
[pixiv] include user ID in failed AJAX warnings (#6581)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Dec 1, 2024
1 parent 4a5dfc7 commit 9909075
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gallery_dl/extractor/pixiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,9 @@ def works(self):
ajax_ids.extend(map(int, body["manga"]))
ajax_ids.sort()
except Exception as exc:
self.log.warning("Unable to collect artwork IDs using AJAX "
"API (%s: %s)", exc.__class__.__name__, exc)
self.log.warning("u%s: Failed to collect artwork IDs "
"using AJAX API (%s: %s)",
self.user_id, exc.__class__.__name__, exc)
else:
works = self._extend_sanity(works, ajax_ids)

Expand Down

0 comments on commit 9909075

Please sign in to comment.