Skip to content

Commit

Permalink
chore(release):
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Sep 23, 2024
1 parent e6ab99c commit a17bd4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pynyaa"
version = "1.1.0"
version = "2.0.0"
description = "Turn nyaa.si torrent pages into neat Python objects"
authors = [{ name = "Ravencentric", email = "me@ravencentric.cc" }]
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions src/pynyaa/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def main() -> None:
include = args.include
exclude = args.exclude

json = Nyaa().get(url).model_dump_json(indent=indent, include=include, exclude=exclude)

print(json)
with Nyaa() as client:
json = client.get(url).model_dump_json(indent=indent, include=include, exclude=exclude)
print(json)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a17bd4a

Please sign in to comment.