update dlsite-async

This commit is contained in:
xenofem 2026-05-22 00:24:56 -04:00
parent e9d57c1f98
commit 8fceabd506
2 changed files with 3 additions and 16 deletions

View file

@ -13,18 +13,18 @@
packages.x86_64-linux = with pkgs.python3Packages; rec {
dlsite-async = buildPythonPackage rec {
pname = "dlsite_async";
version = "0.5.1";
version = "0.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xvI13JqW+nOqU4vaeFblbIkiimyEwvGtY+56kRvv2fY=";
sha256 = "sha256-K7xbHtz2SF8Rs+2Rm0Llw5jWnqlTLP5vSuAM3mXEAeY=";
};
patches = [ ./patches/dlsite-async.patch ];
pyproject = true;
nativeBuildInputs = [ pkgs.pdm ];
propagatedBuildInputs = [
lxml
aiohttp
beautifulsoup4
cryptography
pdm-backend
];
};

View file

@ -1,13 +0,0 @@
diff --git a/src/dlsite_async/work.py b/src/dlsite_async/work.py
index 46ae0d1..81d0bc5 100644
--- a/src/dlsite_async/work.py
+++ b/src/dlsite_async/work.py
@@ -86,6 +86,8 @@ class Work:
page_count: Optional[int] = None
description: Optional[str] = None
sample_images: Optional[list[str]] = None
+ title_name: Optional[str] = None
+ title_id: Optional[str] = None
@classmethod
def from_dict(cls, d: Mapping[str, Any]) -> "Work":